]> granicus.if.org Git - postgresql/commit
Fix ADD IF NOT EXISTS used in conjunction with ALTER TABLE ONLY
authorGreg Stark <stark@mit.edu>
Wed, 19 Dec 2018 23:28:35 +0000 (18:28 -0500)
committerGreg Stark <stark@mit.edu>
Thu, 20 Dec 2018 00:41:06 +0000 (19:41 -0500)
commit9e6cd794c282499aa0d2d31166c023cda0682e67
treeebe9b7911cb2586878abacde5f9301917087bbc5
parent4aad9813e8040ea8ad7a149ee5724ee3631c6d55
Fix ADD IF NOT EXISTS used in conjunction with ALTER TABLE ONLY

The flag for IF NOT EXISTS was only being passed down in the normal
recursing case. It's been this way since originally added in 9.6 in
commit 2cd40adb85 so backpatch back to 9.6.
src/backend/commands/tablecmds.c
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql