From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>, pgsql-patches(at)postgresql(dot)org, pgman(at)candle(dot)pha(dot)pa(dot)us |
Subject: | Re: final light versions of Oracle compatibility (SQLSTATE, |
Date: | 2005-06-10 16:23:32 |
Message-ID: | 42A9BE84.1010703@samurai.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Tom Lane wrote:
> A nonterminal that is not intended to represent any real input, ever,
> is just plain weird.
If you say so... PL/PgSQL already uses such a beast, though: the lno
nonterminal, for example.
> Not at all. The right way to do this, I think, is for the mid-rule
> action to palloc the PLpgSQL_exception_block, fill the variables into
> that, and return the block as its semantic value. The end-of-rule
> action then picks up the block and adds what it needs to.
Ah, I see -- that makes sense. Attached is a revised patch -- applied to
HEAD.
-Neil
Attachment | Content-Type | Size |
---|---|---|
sqlstate-8.patch | text/x-patch | 17.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-06-10 16:28:52 | Re: psql: customizable readline history filename |
Previous Message | Andreas Seltenreich | 2005-06-10 16:20:09 | Re: psql: customizable readline history filename |