On 07/30/2012 01:18 PM, Tom Lane wrote:
My feeling is that SRFs in targetlists are just fundamentally poorly defined, and the answer is to avoid them not try to make them cleaner. Most of the real use-cases for them could be handled in a better-defined, more standard way with LATERAL ... so what we ought to be spending time on is getting LATERAL done, not worrying about putting lipstick on tlist SRFs.
+1 LATERAL would be useful for all sorts of reasons anyway. cheers andrew -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers