| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера