Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support

From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 15:05:31
Message-ID: Pine.LNX.4.44.0506021701520.4622-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-patches

On Thu, 2 Jun 2005, Tom Lane wrote:

> 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; }
> ;

True. It's can work. I'll change it.

Pavel Stehule

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-06-02 17:45:19 pgsql: The no-lexer-backup speedup hadn't been there a week before
Previous Message Tom Lane 2005-06-02 15:01:56 Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support

Browse pgsql-patches by date

  From Date Subject
Next Message Pavel Stehule 2005-06-02 15:41:46 Re: Oracle date type compat. functions: next_day, last_day,
Previous Message Tom Lane 2005-06-02 15:01:56 Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support