Re: sintax error
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: Richard Huxton <dev(at)archonet(dot)com>
- Cc: iuri de araujo sampaio <iuri(dot)sampaio(at)gmail(dot)com>, pgsql-sql(at)postgresql(dot)org
- Subject: Re: sintax error
- Date: Fri, 19 Feb 2010 09:28:55 -0500
- Message-id: <2373.1266589735@sss.pgh.pa.us> <text/plain>
Richard Huxton <dev(at)archonet(dot)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
Home |
Main Index |
Thread Index