Neil Conway <neilc(at)samurai(dot)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
In response to
pgsql-patches by date
|Next:||From: Neil Conway||Date: 2005-05-26 03:37:55|
|Subject: Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support|
|Previous:||From: Tom Lane||Date: 2005-05-26 03:26:00|
|Subject: Re: pgsql: Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values |