aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/tablecmds.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-08-03 13:09:15 -0400
committerRobert Haas <rhaas@postgresql.org>2017-08-03 13:24:48 -0400
commit86705aa8c3f3ec78c0b8e66cd8a4b0768e51adeb (patch)
tree3e0b9728ee708c464331a7c3c2a2ab1c03e71521 /src/backend/commands/tablecmds.c
parent12a34f59bf8bc5babf375c95f5192d208dca1739 (diff)
downloadpostgresql-86705aa8c3f3ec78c0b8e66cd8a4b0768e51adeb.tar.gz
postgresql-86705aa8c3f3ec78c0b8e66cd8a4b0768e51adeb.zip
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
Diffstat (limited to 'src/backend/commands/tablecmds.c')
0 files changed, 0 insertions, 0 deletions