"Thapliyal, Deepak" <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to