pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Nico Williams <nico@cryptonector.com>
Cc: David Fetter <david@fetter.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Early WIP/PoC for inlining CTEs
Date: Wed, 25 Jul 2018 17:08:43 +0100
Message-ID: <877eljfhrx.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <20180725153205.GM5695@localhost>
References: <87sh48ffhb.fsf@news-spur.riddles.org.uk>
	<20180725054236.GB17411@fetter.org>
	<20180725153205.GM5695@localhost>

>>>>> "Nico" == Nico Williams <nico@cryptonector.com> writes:

 Nico> It is possible to add a keyword for this purpose in the WITH syntax:

 Nico>     WITH   VIEW (...) AS a_view

The existing (and standard) syntax is WITH ctename AS (query).

Syntaxes that have been suggested for explicitly controlling the
materialization are along the lines of:

WITH ctename AS [[NOT] MATERIALIZED] (query)

(MATERIALIZED is already an un-reserved keyword)

-- 
Andrew (irc:RhodiumToad)




view thread (112+ messages)  latest in thread

Message-ID: <877eljfhrx.fsf@news-spur.riddles.org.uk>
Permalink:  ../877eljfhrx.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/877eljfhrx.fsf@news-spur.riddles.org.uk

 · 

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: andrew@tao11.riddles.org.uk, nico@cryptonector.com, david@fetter.org
  Subject: Re: Early WIP/PoC for inlining CTEs
  In-Reply-To: <877eljfhrx.fsf@news-spur.riddles.org.uk>

* 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