Re: strange evaluation Window function and SRF functions? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: strange evaluation Window function and SRF functions?
Date
Msg-id 5016CA45.9050901@dunslane.net
Whole thread Raw
In response to Re: strange evaluation Window function and SRF functions?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: strange evaluation Window function and SRF functions?
Next
From: Pavel Stehule
Date:
Subject: Re: strange evaluation Window function and SRF functions?