From: Chris Hoover <revoohc@gmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Setting sqlstate in plpgsql function
Date: Fri, 6 Apr 2007 13:26:33 -0400
Message-ID: <1d219a6f0704061026v4ee14b85n622cd27a0b53646d@mail.gmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: revoohc@gmail.com
Subject: Re: Setting sqlstate in plpgsql function
In-Reply-To: <1d219a6f0704061026v4ee14b85n622cd27a0b53646d@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox