summaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-05-26 15:16:59 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-05-26 15:16:59 -0400
commit525780c6221b8635f9b1fcb1e9e2b455af93ac21 (patch)
tree208715b1f3560dda10550787bbec3df97ecc6b21 /contrib/postgres_fdw/postgres_fdw.c
parenta561254e4c620ca9d62044520bd05cfe687f786c (diff)
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.c')
0 files changed, 0 insertions, 0 deletions