Re: Command Triggers

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Greg Smith <greg(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Command Triggers
Date: 2011-12-19 14:39:44
Message-ID: 1324305473-sup-3773@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Excerpts from Dimitri Fontaine's message of dom dic 18 16:54:11 -0300 2011:
>
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2011-12-19 14:50:26 Re: Patch to allow users to kill their own queries
Previous Message Robert Haas 2011-12-19 14:34:51 Re: Page Checksums