pgsql: Fix ADD IF NOT EXISTS used in conjunction with ALTER TABLE ONLY

Поиск
Список
Период
Сортировка
От Greg Stark
Тема pgsql: Fix ADD IF NOT EXISTS used in conjunction with ALTER TABLE ONLY
Дата
Msg-id E1gZneF-0000xZ-7U@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1075dfdaf33ad8b2a61c26b5748735005e6192b9

Modified Files
--------------
src/backend/commands/tablecmds.c          | 2 +-
src/test/regress/expected/alter_table.out | 6 ++++++
src/test/regress/sql/alter_table.sql      | 4 ++++
3 files changed, 11 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: pgsql: Fix ADD IF NOT EXISTS used in conjunction with ALTER TABLE ONLY
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Remove function names from error messages