Re: User's exception plpgsql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
Cc: Neil Conway <neilc(at)samurai(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: User's exception plpgsql
Date: 2005-07-06 17:17:19
Message-ID: 28253.1120670239@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz> writes:
> if I use registered sqlstate, plpgsql knows text message.

No, it does not. I already pointed out that tying a single error
message to a SQLSTATE is unreasonable, because that's not how the
SQL committee intended SQLSTATEs to be used. I haven't looked at
this patch yet, but if it's doing things that way it is wrong.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2005-07-06 17:19:15 Re: User's exception plpgsql
Previous Message Pavel Stehule 2005-07-06 17:12:54 Re: User's exception plpgsql

Browse pgsql-patches by date

  From Date Subject
Next Message Pavel Stehule 2005-07-06 17:19:15 Re: User's exception plpgsql
Previous Message Pavel Stehule 2005-07-06 17:12:54 Re: User's exception plpgsql