aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.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
commit9ded5171951e9ac8a30d221b2b21e8408f101170 (patch)
tree7d06c2fedc97bc1e1324b9d36b25d23b0aac5f44 /src/backend/utils/adt/json.c
parent41c4eb5ec6118559a22d32ef85797558c0b9d3d5 (diff)
downloadpostgresql-9ded5171951e9ac8a30d221b2b21e8408f101170.tar.gz
postgresql-9ded5171951e9ac8a30d221b2b21e8408f101170.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 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions