From: Tom Lane <tgl@sss.pgh.pa.us>
To: Walter McGinnis <pg@mars-hq.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: pesky plpgsql
Date: Wed, 02 Apr 2003 01:03:03 -0500
Message-ID: <19016.1049263383@sss.pgh.pa.us> (raw)
In-Reply-To: <C09D3F30-64C4-11D7-AEDC-00306571D2C4@mars-hq.com>
References: <C09D3F30-64C4-11D7-AEDC-00306571D2C4@mars-hq.com>
Walter McGinnis <pg@mars-hq.com> writes:
> When I call the function I get the following error:
> devpps=# select update_cat_keys();
> NOTICE: plpgsql: ERROR during compile of update_cat_keys near line 2
> ERROR: parse error at or near ";"
> The select in the loop runs fine in psql. So I'm stumped...
Hmm, it looks fine to me too. What PG version is this? Could you
provide the context (table creation commands, etc) so someone else
could try to run the function?
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, pg@mars-hq.com
Subject: Re: pesky plpgsql
In-Reply-To: <19016.1049263383@sss.pgh.pa.us>
* 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