pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Andreas Joseph Krogh <andreas@visena.com>
Cc: Adrien NAYRAT <adrien.nayrat@anayrat.info>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Sv: Re: Sv: Re: CTE optimization fence
Date: Thu, 28 Jun 2018 10:54:46 -0400
Message-ID: <20180628145446.3ichhyxb55kbr4x6@alvherre.pgsql> (raw)
In-Reply-To: <VisenaEmail.24.aff6251fef9d9dce.16440a8439b@tc7-visena>

On 2018-Jun-27, Andreas Joseph Krogh wrote:

> I know. I hate the INLINE proposal and hope default-behaviour will be like in 
> other DBs, inline like sub-query as default. GUC for preserving fence is what I 
> hope will happen.

I am probably biased ;-) but I like my proposal #1 in this email
https://www.postgresql.org/message-id/20170503173305.fetj4tz7kd56tjlr%40alvherre.pgsql
where you have to mark queries were the current behavior is desired
(WITH MATERIALIZED), and leave all other queries alone.  I don't
remember any dissent on that.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (2+ messages)

Message-ID: <20180628145446.3ichhyxb55kbr4x6@alvherre.pgsql>
Permalink:  ../20180628145446.3ichhyxb55kbr4x6@alvherre.pgsql/
Also on:    postgresql.org/message-id/20180628145446.3ichhyxb55kbr4x6@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: alvherre@2ndquadrant.com, andreas@visena.com, adrien.nayrat@anayrat.info
  Subject: Re: CTE optimization fence
  In-Reply-To: <20180628145446.3ichhyxb55kbr4x6@alvherre.pgsql>
  References: <VisenaEmail.24.aff6251fef9d9dce.16440a8439b@tc7-visena> <20180628145446.3ichhyxb55kbr4x6@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox