Re: Parse error help needed... - Mailing list pgsql-general

From Doug McNaught
Subject Re: Parse error help needed...
Date
Msg-id 874qv065jx.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to Parse error help needed...  ("Thapliyal, Deepak" <dthapliyal@soe.sony.com>)
List pgsql-general
"Thapliyal, Deepak" <dthapliyal@soe.sony.com> writes:

> I am getting this error
>
> postgres=# \i a.sql
> psql:a.sql:10: ERROR:  parser: parse error at or near "return" at character
> 26

> create function loadme() return text as '
                           ^^^^^^

I think you want "returns" here.

-Doug

pgsql-general by date:

Previous
From: "Chris Ochs"
Date:
Subject: Re: sql insert function
Next
From: "Thapliyal, Deepak"
Date:
Subject: Re: Parse error help needed...