diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-26 15:16:59 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-26 15:16:59 -0400 |
commit | 8f62b388b5c946cc1c6e5c1c6fd5cff0865b46a9 (patch) | |
tree | 01d77d458027b0c367479dd5b8ad057263edbbb3 /contrib/postgres_fdw/postgres_fdw.h | |
parent | 1cfc9dc75b175c68443c50a359ae5b7a2529326e (diff) | |
download | postgresql-8f62b388b5c946cc1c6e5c1c6fd5cff0865b46a9.tar.gz postgresql-8f62b388b5c946cc1c6e5c1c6fd5cff0865b46a9.zip |
Move autogenerated array types out of the way during ALTER ... RENAME.
Commit 9aa3c782c added code to allow CREATE TABLE/CREATE TYPE to not fail
when the desired type name conflicts with an autogenerated array type, by
dint of renaming the array type out of the way. But I (tgl) overlooked
that the same case arises in ALTER TABLE/TYPE RENAME. Fix that too.
Back-patch to all supported branches.
Report and patch by Vik Fearing, modified a bit by me
Discussion: https://postgr.es/m/0f4ade49-4f0b-a9a3-c120-7589f01d1eb8@2ndquadrant.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions