Refactor ALTER some-obj RENAME implementation

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 765cbfdc9263bf7c90b9d1f1044c6950b8b7088c
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2013-01-21T15:06:41Z
Releases: 9.3.0
Refactor ALTER some-obj RENAME implementation

Remove duplicate implementations of catalog munging and miscellaneous
privilege checks.  Instead rely on already existing data in
objectaddress.c to do the work.

Author: KaiGai Kohei, changes by me
Reviewed by: Robert Haas, Álvaro Herrera, Dimitri Fontaine

Files