On Tue, Aug 18, 2015 at 11:23 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> More generally, what would you hope to accomplish with such a construct
> that wouldn't be better done by writing the cursor's underlying query
> directly in the WITH clause?
Maybe I'm stupid today, but it seems like the obvious use case would
be fetching some but not all rows from the cursor?
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company