pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12819: CREATE TYPE fails within CREATE SCHEMA
Date: Mon, 02 Mar 2015 22:42:50 +0000
Message-ID: <8761aj2ffu.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <6455.1425318835@sss.pgh.pa.us>
References: <20150302165554.2546.2997@wrigleys.postgresql.org>
	<6455.1425318835@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:

 Tom>     Currently, only CREATE TABLE, CREATE VIEW, CREATE INDEX, CREATE
 Tom>     SEQUENCE, CREATE TRIGGER and GRANT are accepted as clauses within
 Tom>     CREATE SCHEMA.

 Tom> That's basically driven by what was required in SQL92.  It's
 Tom> unlikely that we're going to worry about extending that set much,
 Tom> because the lack of separating semicolons means that we risk
 Tom> syntax ambiguities anytime we add more options.

CREATE and GRANT are both fully reserved already; what potential
ambiguities are introduced by adding more CREATE statement variants to
that list? (all the spec's clauses for the body of CREATE SCHEMA begin
with either CREATE or GRANT)

-- 
Andrew (irc:RhodiumToad)


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)

Message-ID: <8761aj2ffu.fsf@news-spur.riddles.org.uk>
Permalink:  ../8761aj2ffu.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/8761aj2ffu.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 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-bugs@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, tgl@sss.pgh.pa.us
  Subject: Re: BUG #12819: CREATE TYPE fails within CREATE SCHEMA
  In-Reply-To: <8761aj2ffu.fsf@news-spur.riddles.org.uk>
  References: <20150302165554.2546.2997@wrigleys.postgresql.org> <6455.1425318835@sss.pgh.pa.us> <8761aj2ffu.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