On 08/23/2013 01:06 PM, Marko Tiikkaja wrote: >> Is there some reason we wouldn't use RETURN QUERY in that case, instead >> of SELECT? As I said above, it would be more consistent with existing >> PL/pgSQL. > > How would using the same syntax to do an entirely different thing be > consistent?
Currently the only way to return query results to the caller is to use some form of RETURN. It is 100% consistent. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers