Re: Possible to modify query language in an extension?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Possible to modify query language in an extension?
Дата
Msg-id 3881.1552796473@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Possible to modify query language in an extension?  (Chris Cleveland <ccleve+github@dieselpoint.com>)
Ответы Re: Possible to modify query language in an extension?
Список pgsql-hackers
Chris Cleveland <ccleve+github@dieselpoint.com> writes:
> I'd like to add some keywords/clauses to the SELECT statement.

Yeah, you'll have to modify gram.y (and a pile of other places)
if you want to do that.  That's certainly something we do all
the time, but bison doesn't provide any way to add grammar
productions on-the-fly, so it does imply core-code mods.

> ... The new SELECT would return multiple result sets.

And that sounds like you'd also be redefining the wire protocol,
hence having to touch client-side code as well as the server.

            regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: Fix XML handling with DOCTYPE
Следующее
От: Arseny Sher
Дата:
Сообщение: Re: Parallel query vs smart shutdown and Postmaster death