Merlin Moncure <[email protected]> writes: > create table foo(a int, b int); > postgres=# create function rfoo() returns setof foo as $$ begin return > query select foo from foo; end; $$ language plpgsql;
Use "select * from ..." instead.
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
