Andreas Karlsson escribió:
> Tom fixed so LATERAL is implicit for set retuning functions so the
> LATERAL keyword is now only required for subqueries.
>
> http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=2378d79ab29865f59245744beb8f04a3ce56d2ae
That's correct; but even without the keyword, the implementation of the
feature was necessary for lateral references of SRFs to work sanely.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services