Re: [HACKERS] CTE inlining - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: [HACKERS] CTE inlining
Date
Msg-id CAHyXU0yOHGWAaTaHN9PUEFLCqGbksEUtLvuH4ruHANH4SovYWg@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] CTE inlining  (Andres Freund <andres@anarazel.de>)
Responses Re: [HACKERS] CTE inlining  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-hackers
On Sun, Apr 30, 2017 at 6:21 PM, Andres Freund <andres@anarazel.de> wrote:
> On 2017-04-30 07:19:21 +0200, Pavel Stehule wrote:
>> why we cannot to introduce GUC option - enable_cteoptfence ?
>
> Doesn't really solve the issue, and we've generally shied away from GUCs
> that influence behaviour after a few bad experiences.  What if you want
> one CTE inlined, but another one not?

Yeah.  Are we absolutely opposed to SQL syntax against WITH that
allows or disallows fencing?   for example,

WITH [MATERIALIZED]

Pushing people to OFFSET 0 is a giant step backwards IMO, and as in
implementation detail is also subject to change.

merlin



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] logical replication and PANIC during shutdowncheckpoint in publisher
Next
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] logical replication syntax (was DROP SUBSCRIPTION,query cancellations and slot handling)