Re: Syntax decisions for pl/pgsql RAISE extension - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Syntax decisions for pl/pgsql RAISE extension
Date
Msg-id 18596.1210773075@sss.pgh.pa.us
Whole thread Raw
In response to Re: Syntax decisions for pl/pgsql RAISE extension  ("Zeugswetter Andreas OSB sIT" <Andreas.Zeugswetter@s-itsolutions.at>)
List pgsql-hackers
"Zeugswetter Andreas OSB sIT" <Andreas.Zeugswetter@s-itsolutions.at> writes:
> Other db's go with SQLCODE and SQLSTATE. 
> Would SQLCODE be better than ERRCODE ?

No, because SQLCODE has a specific meaning, and it's *not* either a
condition name or a SQLSTATE --- it's the old SQL89-era error code
numbering.  I think this would just create confusion.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "ranjit singh"
Date:
Subject: how to perform silent installation on linux and solaris
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] stored procedure stats in collector