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