pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Andreas Karlsson <andreas@proxel.se>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Merlin Moncure <mmoncure@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: David Fetter <david@fetter.org>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Early WIP/PoC for inlining CTEs
Date: Tue, 26 Feb 2019 23:45:56 -0500
Message-ID: <22551.1551242756@sss.pgh.pa.us> (raw)
In-Reply-To: <87h8cqf37i.fsf@news-spur.riddles.org.uk>
References: <c94d0ddb-d7f8-84be-46a2-8eb569561948@2ndquadrant.com>
	<20190214160209.GA13250@alvherre.pgsql>
	<CAHyXU0z6s6gWVYPCuRvNc633+EyG+Y2x_SDp=HhdObNe-U1NEQ@mail.gmail.com>
	<ff927085-883e-6a68-d2e0-e70b6971af4a@2ndquadrant.com>
	<31353.1550351689@sss.pgh.pa.us>
	<62080f95-3934-4700-00ca-7c35630ab7a0@proxel.se>
	<87wolmg60q.fsf@news-spur.riddles.org.uk>
	<6696.1551192698@sss.pgh.pa.us>
	<87h8cqf37i.fsf@news-spur.riddles.org.uk>

Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
>  Tom> Also, I thought of a somewhat-related scenario that the code isn't
>  Tom> accounting for: you can break the restrictions about single
>  Tom> evaluation with nested WITHs, like

> I also thought about that. But what I thought about it on reflection
> was: if the user explicitly wrote NOT MATERIALIZED, then we should
> assume they mean it.

Ah, but the example I gave also had MATERIALIZED on the inner WITH.
Why should the user not also mean that?

			regards, tom lane




view thread (112+ messages)  latest in thread

Message-ID: <22551.1551242756@sss.pgh.pa.us>
Permalink:  ../22551.1551242756@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22551.1551242756@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew@tao11.riddles.org.uk, andreas@proxel.se, tomas.vondra@2ndquadrant.com, mmoncure@gmail.com, alvherre@2ndquadrant.com, peter.eisentraut@2ndquadrant.com, michael@paquier.xyz, robertmhaas@gmail.com, andres@anarazel.de, thomas.munro@enterprisedb.com, david@fetter.org
  Subject: Re: Early WIP/PoC for inlining CTEs
  In-Reply-To: <22551.1551242756@sss.pgh.pa.us>

* 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