From: Dinesh Pandey <dpandey@secf.com>
To: pgsql-bugs@postgresql.org
Subject: Help
Date: Thu, 31 Mar 2005 14:44:46 +0530
Message-ID: <20050331091651.7F66B5393E@svr1.postgresql.org> (raw)
Hi,
I have installed PostgreSQL 8.0.1 on Solaris 9.
I am porting my database from Oracle 9i to PostgreSQL. I am using PL/pgSQL
language.
In Oracle we can get error message from "SQLERRM" keyword and inserting it
into table.
How can I get error message/code in PostgreSQL after an EXCEPTION or RAISE
EXCEPTION occurs in EXCEPTION block??
Pls help me or send me some example.
Thanks
Dinesh Pandey
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: dpandey@secf.com
Subject: Re: Help
In-Reply-To: <20050331091651.7F66B5393E@svr1.postgresql.org>
References: <20050331091651.7F66B5393E@svr1.postgresql.org>
* 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