]> git.ipfire.org Git - thirdparty/postgresql.git/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:40:25 +0000 (19:40 -0500)
commit128ce8e1a18ed7a83dd0f8dbe7bfb00eb73f200b
tree74867205feef9b41f057a54cd9f8f9d779b56f63
parentc9a1c55a8b342cd00ffa810dfa63620ce6d497da
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