From: owner <ivan(at)psycho(dot)pl>
To: pgsql-bugs(at)postgresql(dot)org
Subject:
Date: 2002-12-28 21:05:12
Message-ID: Pine.LNX.4.44.0212282151490.3093-100000@rex.anfa.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


i've CREATE FUNCTION iv_get(int) RETURNS SETOF same_table AS ' select *
from same_table; ' LANGUAGE SQL;

and then

medyk=# SELECT * FROM iv_get(0);
ERROR: parser: parse error at or near "("

why ?? is there somethink bad
?? same_table of course exists, but why i've this error ? its a bug ??

or is some other way to select somethink throught function , my function
??

Responses

  • Re: at 2003-01-02 19:15:03 from Stephan Szabo
  • Re: at 2003-01-02 20:02:34 from Tom Lane

Browse pgsql-bugs by date

  From Date Subject
Next Message Thien-Thi Nguyen 2002-12-29 01:53:21 Re: Bug #859: 7.3.1 on linux-alpha: 3 "make check" tests fail
Previous Message Tomas Vera 2002-12-28 06:47:32 Instllation Error 1316