Re: Parse error help needed...

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: "Thapliyal, Deepak" <dthapliyal(at)soe(dot)sony(dot)com>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Parse error help needed...
Date: 2004-01-13 00:44:18
Message-ID: 874qv065jx.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Thapliyal, Deepak" <dthapliyal(at)soe(dot)sony(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Ochs 2004-01-13 00:44:51 Re: sql insert function
Previous Message Thapliyal, Deepak 2004-01-13 00:40:34 Parse error help needed...