Re: sintax error - Mailing list pgsql-sql

From Tom Lane
Subject Re: sintax error
Date
Msg-id 2373.1266589735@sss.pgh.pa.us
Whole thread Raw
In response to Re: sintax error  (Richard Huxton <dev@archonet.com>)
List pgsql-sql
Richard Huxton <dev@archonet.com> writes:
> I thought it was the PERFORM statements, but it's not. The line number 
> seems right, although the error message is misleading.

FWIW, things are better in HEAD:

regression=# create function foo() returns int as $$
regression$# begin
regression$#   return;
regression$# end$$ language plpgsql;
ERROR:  missing expression at or near ";"
LINE 3:   return;               ^
regression=# 
        regards, tom lane


pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Unable to get UPDATE ... FROM syntax correct
Next
From: Gary Chambers
Date:
Subject: Join Advice and Assistance