From: renneyt@yahoo.com <renneyt@yahoo.com>
To: postgres <pgsql-admin@postgresql.org>
Subject: PLPGSQL/EXCEPTION HANDLING
Date: Tue, 13 Jun 2006 00:55:25 -0400
Message-ID: <448E453D.3080207@yahoo.com> (raw)
In a function implemented in 7.4.8 I had the following error when I call
the function:
ERROR: syntax error at or near "EXCEPTION"
Offending line is:
EXCEPTION WHEN dup_val_on_index THEN NULL;
When this line is removed, all is well.
Any help appreciated...
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-admin@postgresql.org
Cc: renneyt@yahoo.com
Subject: Re: PLPGSQL/EXCEPTION HANDLING
In-Reply-To: <448E453D.3080207@yahoo.com>
References: <448E453D.3080207@yahoo.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