From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>, pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support |
Date: | 2005-05-26 03:37:55 |
Message-ID: | 42954493.6030505@samurai.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-patches |
Tom Lane wrote:
> Alternatively we could make them local to any block that contains an
> EXCEPTION clause, which would fix point 3 and also go a long way towards
> addressing the unnecessary-overhead gripe. However that would mean that
> an attempt to reference them from outside an exception handler would
> probably fail outright, rather than deliver either NULLs or
> 00000/"Successful completion".
This behavior sounds fine to me.
-Neil
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2005-05-26 03:46:37 | Re: pgsql: Minor cleanup for recent SQLSTATE / SQLERRM |
Previous Message | Tom Lane | 2005-05-26 03:36:59 | Re: pgsql: Minor cleanup for recent SQLSTATE / SQLERRM patch: spell |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-05-26 04:00:24 | Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support |
Previous Message | Tom Lane | 2005-05-26 03:30:00 | Re: Implementation of SQLSTATE and SQLERRM variables |