Re: Add missing CREATE TABLE IF NOT EXISTS table_name AS EXECUTE query;
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Ramanarayana <raam.soft@gmail.com>
Cc: Andreas Karlsson <andreas@proxel.se>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2019-03-10T22:42:20Z
Lists: 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
Commits
-
Fix support for CREATE TABLE IF NOT EXISTS AS EXECUTE
- 06cdab9df413 9.5.17 landed
- d08fae3773ea 9.6.13 landed
- 3a2923a9bfd8 10.8 landed
- 75aba11ec5ed 11.3 landed
- 331a613e9d36 12.0 landed