Setting sqlstate in plpgsql function - Mailing list pgsql-admin

From Chris Hoover
Subject Setting sqlstate in plpgsql function
Date
Msg-id 1d219a6f0704061026v4ee14b85n622cd27a0b53646d@mail.gmail.com
Whole thread Raw
Responses Re: Setting sqlstate in plpgsql function
List pgsql-admin
Is where anyway to set the sqlstate to a custom value when inside a plpgsql function?  I am still working on converting from Sybase ASA to Postgres and some of the triggers and stored procedures in Sybase are setting the variable to specific custom values.

Thanks,

Chris

pgsql-admin by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Database replication.
Next
From: Tom Lane
Date:
Subject: Re: Setting sqlstate in plpgsql function