Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UgyIf-00024q-2i for pgsql-bugs@arkaria.postgresql.org; Mon, 27 May 2013 14:21:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UgyIe-0006ds-GS for pgsql-bugs@arkaria.postgresql.org; Mon, 27 May 2013 14:21:24 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UgyId-0006dm-JC for pgsql-bugs@postgresql.org; Mon, 27 May 2013 14:21:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UgyIW-0000kM-Mc for pgsql-bugs@postgresql.org; Mon, 27 May 2013 14:21:23 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r4RELF6O010709; Mon, 27 May 2013 10:21:15 -0400 (EDT) From: Tom Lane To: Stephen Frost cc: maxim.boguk@gmail.com, pgsql-bugs@postgresql.org Subject: Re: BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax In-reply-to: <20130527123648.GM8597@tamriel.snowman.net> References: <20130527123648.GM8597@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Mon, 27 May 2013 08:36:48 -0400" Date: Mon, 27 May 2013 10:21:15 -0400 Message-ID: <10708.1369664475@sss.pgh.pa.us> X-Pg-Spam-Score: -0.3 (/) 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 Stephen Frost writes: > * maxim.boguk@gmail.com (maxim.boguk@gmail.com) wrote: >> It seems that documentation wrong or [ CASCADE | RESTRICT ] feature of ALTER >> TYPE ... RENAME TO isn't implemented. > Actually, I'm pretty sure it's implemented but the grammar for it was > broken during refactoring to have all the ALTER .. RENAME operations go > through the same code paths. Are we sure the documentation's not wrong? A quick test says this syntax isn't accepted in *any* existing release, and I can't say I understand what it should do anyway. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs