Re: Command Triggers

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Command Triggers
Дата
Msg-id 1324305473-sup-3773@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Command Triggers  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
Excerpts from Dimitri Fontaine's message of dom dic 18 16:54:11 -0300 2011:
>
> Tom Lane <tgl@sss.pgh.pa.us> writes:
> > Hmm ... I don't think that I *am* ok with that.  ISTM that we'd then
> > find ourselves with any changes in utility statement parse trees
> > amounting to a user-visible API break, and that's not an acceptable
> > situation.
>
> Oh, you mean like exposing the parser for syntax coloring etc.  I failed
> to see it's the same case.  Do we have an acceptable proposal on that
> front yet?

The conclusion that was reached during developer's meeting was that
those interested should use a technique similar to the one used by the
ecpg parser, namely use some sort of tool to transform the gram.y source
code into something else (different productions).  That idea is not
useful to you here, I'm afraid.

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Page Checksums
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Patch to allow users to kill their own queries