Re: CTE optimization fence on the todo list?

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Daniel Browning <db(at)kavod(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: CTE optimization fence on the todo list?
Date: 2012-10-01 13:45:54
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Merlin Moncure <mmoncure(at)gmail(dot)com> writes:
> I'm wondering if there are any technical/standards constraints that
> are behind the fencing behavior. If there aren't any, maybe an opt-in

The fencing is per standard, and very useful when used in wCTEs.

> keyword might do the trick -- WITH UNBOXED foo AS (..)?

I would paint your proposal WITH VIEW foo AS (), which would make the
behaviour obvious I think.

Dimitri Fontaine PostgreSQL : Expertise, Formation et Support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Misa Simic 2012-10-01 13:52:21 Re: is JSON really "a type" (Re: data to json enhancements)
Previous Message Peter Eisentraut 2012-10-01 13:19:35 Re: embedded list v3