postgresql/src/backend
Tom Lane 525780c622 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
2017-05-26 15:16:59 -04:00
..
access Fix new warnings from GCC 7 2017-05-15 13:31:38 -04:00
bootstrap Protect against multixact members wraparound 2015-04-28 11:32:53 -03:00
catalog Move autogenerated array types out of the way during ALTER ... RENAME. 2017-05-26 15:16:59 -04:00
commands Ensure commands in extension scripts see the results of preceding DDL. 2017-05-02 18:05:54 -04:00
executor Make sure that hash join's bulk-tuple-transfer loops are interruptible. 2017-02-15 16:40:06 -05:00
foreign Arrange to cache FdwRoutine structs in foreign tables' relcache entries. 2013-03-06 23:48:09 -05:00
lib Misc comment typo fixes. 2014-12-16 16:39:33 +02:00
libpq Support OpenSSL 1.1.0 in 9.3 and 9.2. 2017-04-17 13:52:42 -04:00
main Make fallback implementation of pg_memory_barrier() work in 9.2 and 9.3. 2016-04-16 10:42:07 -04:00
nodes Fix improper repetition of previous results from a hashed aggregate. 2016-08-24 14:37:51 -04:00
optimizer Spelling fixes 2017-03-14 13:45:45 -04:00
parser Fix typos in comments. 2017-02-06 11:34:28 +02:00
po Translation updates 2017-05-08 10:19:36 -04:00
port Avoid depending on non-POSIX behavior of fcntl(2). 2017-04-21 15:55:56 -04:00
postmaster Fix new warnings from GCC 7 2017-05-15 13:31:38 -04:00
regex Fix regexport.c to behave sanely with lookaround constraints. 2017-04-13 17:18:35 -04:00
replication Fix new warnings from GCC 7 2017-05-15 13:31:38 -04:00
rewrite Improve error message for rejecting RETURNING clauses with dropped columns. 2016-02-29 19:11:53 -05:00
snowball Fix ancient encoding error in hungarian.stop. 2014-06-10 22:48:39 -04:00
storage Fix new warnings from GCC 7 2017-05-15 13:31:38 -04:00
tcop Back-patch 9.4-era SSL renegotiation code into 9.3 and 9.2. 2017-04-17 12:51:40 -04:00
tsearch Fix typos in comments. 2017-02-06 11:34:28 +02:00
utils Tighten checks for whitespace in functions that parse identifiers etc. 2017-05-24 15:28:35 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
Makefile AIX: Link the postgres executable with -Wl,-brtllib. 2015-07-15 21:00:30 -04:00
nls.mk xlogreader.c: Fix report_invalid_record translatability flag 2015-01-09 12:34:24 -03:00