Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YSZ3E-0003Yx-Ia for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Mar 2015 22:43:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YSZ3E-0001sZ-0A for pgsql-bugs@arkaria.postgresql.org; Mon, 02 Mar 2015 22:43:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YSZ3C-0001pO-Ef for pgsql-bugs@postgresql.org; Mon, 02 Mar 2015 22:42:58 +0000 Received: from lungold.riddles.org.uk ([82.68.208.19]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YSZ38-0008Ok-R7 for pgsql-bugs@postgresql.org; Mon, 02 Mar 2015 22:42:56 +0000 Received: from localhost ([127.0.0.1]:25192 helo=caithnard.riddles.org.uk) by lungold.riddles.org.uk with esmtp (Exim 4.84 (FreeBSD)) (envelope-from ) id 1YSZ34-0008NC-DL; Mon, 02 Mar 2015 22:42:50 +0000 From: Andrew Gierth To: Tom Lane Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12819: CREATE TYPE fails within CREATE SCHEMA In-Reply-To: <6455.1425318835@sss.pgh.pa.us> (Tom Lane's message of "Mon, 02 Mar 2015 12:53:55 -0500") Message-ID: <8761aj2ffu.fsf@news-spur.riddles.org.uk> References: <20150302165554.2546.2997@wrigleys.postgresql.org> <6455.1425318835@sss.pgh.pa.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Date: Mon, 02 Mar 2015 22:42:50 +0000 MIME-Version: 1.0 Content-Type: text/plain X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org >>>>> "Tom" == Tom Lane 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