Re: ALTER command reworks
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Kohei KaiGai <kaigai@kaigai.gr.jp>
Cc: Robert Haas <robertmhaas@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2012-10-03T21:25:54Z
Lists: pgsql-hackers
Excerpts from Kohei KaiGai's message of lun sep 10 08:08:32 -0300 2012: > As attached, I split off the original one into three portions; for set-schema, > set-owner and rename-to. Please apply them in order of patch filename. > Regarding to the error message, RenameErrorMsgAlreadyExists() was added > to handle per object type messages in case when aclcheck_error() is not > available to utilize. I have pushed the regression tests and parts 1 and 2. Only part 3 is missing from this series, but I'm not as sure about that one as the other two. Not really a fan of RenameErrorMsgAlreadyExists() as coded, but I'll think more about it. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services