Re: pesky plpgsql - Mailing list pgsql-sql

From Tom Lane
Subject Re: pesky plpgsql
Date
Msg-id 19016.1049263383@sss.pgh.pa.us
Whole thread Raw
In response to pesky plpgsql  (Walter McGinnis <pg@mars-hq.com>)
Responses Re: pesky plpgsql  (Walter McGinnis <pg@mars-hq.com>)
List pgsql-sql
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



pgsql-sql by date:

Previous
From: Walter McGinnis
Date:
Subject: pesky plpgsql
Next
From: Joe Conway
Date:
Subject: Re: Rows as Columns