From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz> |
Cc: | Neil Conway <neilc(at)samurai(dot)com>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support |
Date: | 2005-06-02 14:52:07 |
Message-ID: | 13859.1117723927@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-patches |
Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz> writes:
> I din't find easy way how append variable only when block contains
> EXCEPTION part. I wilcome any advice
I was envisioning an action in the beginning of the EXCEPTION clause,
viz
exception_sect :
{ $$ = NIL; }
| K_EXCEPTION
{ push vars into namespace here }
proc_exceptions
{ $$ = $2; }
;
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2005-06-02 14:58:29 | Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support |
Previous Message | Pavel Stehule | 2005-06-02 14:28:33 | Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support |
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2005-06-02 14:58:29 | Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support |
Previous Message | Qingqing Zhou | 2005-06-02 14:48:04 | Re: Simplify Win32 Signaling code |