Re: [PATCHES] SQLSTATE and SQLERRM

2005-06-07 Thread Pavel Stehule
On Tue, 7 Jun 2005, Bruce Momjian wrote: > Tom Lane wrote: > > Bruce Momjian writes: > > > Seems OK to allow them to be visible outside an exception. > > > > Pavel just told me off-list that he'd reconsidered and now likes > > the other way better. So please hold off applying this patch; > > th

Re: [PATCHES] SQLSTATE and SQLERRM

2005-06-07 Thread Tom Lane
Bruce Momjian writes: > Seems OK to allow them to be visible outside an exception. Pavel just told me off-list that he'd reconsidered and now likes the other way better. So please hold off applying this patch; there will be another one by and by. regards, tom lane -

Re: [PATCHES] SQLSTATE and SQLERRM

2005-06-07 Thread Bruce Momjian
Patch retracted by author; new one coming. --- Pavel Stehule wrote: > Hello > > This patch respect last Tom's Lane notes. Is based on first variante, > > http://archives.postgresql.org/pgsql-committers/2005-05/msg00303.p

Re: [PATCHES] SQLSTATE and SQLERRM

2005-06-07 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian writes: > > Seems OK to allow them to be visible outside an exception. > > Pavel just told me off-list that he'd reconsidered and now likes > the other way better. So please hold off applying this patch; > there will be another one by and by. Roger. -- Bruce

Re: [PATCHES] SQLSTATE and SQLERRM

2005-06-07 Thread Bruce Momjian
Pavel Stehule wrote: > Hello > > This patch respect last Tom's Lane notes. Is based on first variante, > > http://archives.postgresql.org/pgsql-committers/2005-05/msg00303.php > > SQLSTATE and SQLERRM are local variables blocks with EXCEPTION clause. > I wonted respect a litlle bit Oracle beha

[PATCHES] SQLSTATE and SQLERRM

2005-06-06 Thread Pavel Stehule
Hello This patch respect last Tom's Lane notes. Is based on first variante, http://archives.postgresql.org/pgsql-committers/2005-05/msg00303.php SQLSTATE and SQLERRM are local variables blocks with EXCEPTION clause. I wonted respect a litlle bit Oracle behavior and therefore exist these varia