... - Mailing list pgsql-bugs

From owner
Subject ...
Date
Msg-id Pine.LNX.4.44.0212282151490.3093-100000@rex.anfa.pl
Whole thread Raw
Responses Re:  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Re:  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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
??

pgsql-bugs by date:

Previous
From: Mike Pechkin
Date:
Subject: Re: Bug #856: coredump
Next
From: "Tomas Vera"
Date:
Subject: Instllation Error 1316