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:38:31 +0000 (19:38 -0500)
commit1075dfdaf33ad8b2a61c26b5748735005e6192b9
treeaa76ce642072ddef85e445489bfe143aefd364e3
parent2ece7c07dc9a14667c64f107686573590b7e45c3
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