Re: Add missing CREATE TABLE IF NOT EXISTS table_name AS EXECUTEquery; - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Add missing CREATE TABLE IF NOT EXISTS table_name AS EXECUTEquery;
Date
Msg-id 20190310224220.GA1818@paquier.xyz
Whole thread Raw
In response to Re: Add missing CREATE TABLE IF NOT EXISTS table_name AS EXECUTE query;  (Ramanarayana <raam.soft@gmail.com>)
List pgsql-hackers
On Sun, Mar 10, 2019 at 06:56:57PM +0530, Ramanarayana wrote:
> Will it be helpful if the comments section of ExecuteStmt in gram.y is
> updated to include the IF NOT EXISTS clause.Something like this
>
> CREATE TABLE <name> [IF NOT EXISTS] AS EXECUTE <plan_name> [(params, ...)]

Not sure it helps much.  The other clauses don't include that much
details, and the grammar supported can be guessed easily from the
code.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: [HACKERS] PATCH: multivariate histograms and MCV lists
Next
From: Michael Paquier
Date:
Subject: Re: Fwd: Add tablespace tap test to pg_rewind