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
??