| 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: | 2010-02-19 14:28:55 |
| Message-ID: | 2373.1266589735@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gary Chambers | 2010-02-21 23:25:24 | Join Advice and Assistance |
| Previous Message | Richard Huxton | 2010-02-19 11:33:30 | Re: Unable to get UPDATE ... FROM syntax correct |