Re: Implementation of SQLSTATE and SQLERRM variables - Mailing list pgsql-patches

From Tom Lane
Subject Re: Implementation of SQLSTATE and SQLERRM variables
Date
Msg-id 22967.1117078200@sss.pgh.pa.us
Whole thread Raw
In response to Re: Implementation of SQLSTATE and SQLERRM variables  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> The second RAISE will report "successful completion". Is this the
> behavior we want?

No, certainly not --- I was just griping about the same thing.

> Is SQLERRM the best name for that variable? It seems a little obscure to me.

Oracle uses that name.  We had an argument previously about whether we
should use an exactly Oracle-compatible name to deliver a definitely
not Oracle-compatible text string ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: Implementation of SQLSTATE and SQLERRM variables
Next
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support