[COMMITTERS] pgsql: Allow a foreign table CHECK constraint to be initially NOTVALID

Поиск
Список
Период
Сортировка
От Robert Haas
Тема [COMMITTERS] pgsql: Allow a foreign table CHECK constraint to be initially NOTVALID
Дата
Msg-id E1ddJvk-0005HU-6D@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow a foreign table CHECK constraint to be initially NOT VALID.

For a table, the constraint can be considered validated immediately,
because the table must be empty.  But for a foreign table this is
not necessarily the case.

Fixes a bug in commit f27a6b15e6566fba7748d0d9a3fc5bcfd52c4a1b.

Amit Langote, with some changes by me.

Discussion: http://postgr.es/m/d2b7419f-4a71-cf86-cc99-bfd0f359a1ea@lab.ntt.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/86705aa8c3f3ec78c0b8e66cd8a4b0768e51adeb

Modified Files
--------------
src/backend/parser/parse_utilcmd.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Improve ExecModifyTable comments.
Следующее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Code beautification for ATExecAttachPartition.