Implement RETURN QUERY for PL/PgSQL. This provides some convenient syntax

Neil Conway <neilc@samurai.com>

Commit: b2b9b4d59c6bccea65f33c17345bcd3296eca1be
Author: Neil Conway <neilc@samurai.com>
Date: 2007-07-25T04:19:09Z
Releases: 8.3.0
Implement RETURN QUERY for PL/PgSQL. This provides some convenient syntax
sugar for PL/PgSQL set-returning functions that want to return the result
of evaluating a query; it should also be more efficient than repeated
RETURN NEXT statements. Based on an earlier patch from Pavel Stehule.

Files