From: Stephen Frost <sfrost@snowman.net>
To: maxim.boguk@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8176: problem with the "ALTER TYPE name RENAME TO new_name [ CASCADE | RESTRICT ]" syntax
Date: Mon, 27 May 2013 08:36:48 -0400
Message-ID: <20130527123648.GM8597@tamriel.snowman.net> (raw)
In-Reply-To: <E1Ugrng-000690-WB@wrigleys.postgresql.org>
References: <E1Ugrng-000690-WB@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Maxim,
* 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.
> Test case:
Thanks for this. I'm working on fixing this and will also add
regression tests to, hopefully, avoid this getting broken in the future.
Thanks again,
Stephen
Attachments:
signature.asc (application/pgp-signature, 197B) download
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: sfrost@snowman.net, maxim.boguk@gmail.com
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: <E1Ugrng-000690-WB@wrigleys.postgresql.org> <20130527123648.GM8597@tamriel.snowman.net>
* 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