aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-12-17 17:00:53 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2014-12-17 17:00:53 -0500
commitfc2ac1fb41c2defb8caf825781af75db158fb7a9 (patch)
treeec534f15130635754fcb41aecde19700a91abd36 /src/backend/commands/explain.c
parentce01548d4fdbc06dce59f90a3e4598162b1e8ea1 (diff)
downloadpostgresql-fc2ac1fb41c2defb8caf825781af75db158fb7a9.tar.gz
postgresql-fc2ac1fb41c2defb8caf825781af75db158fb7a9.zip
Allow CHECK constraints to be placed on foreign tables.
As with NOT NULL constraints, we consider that such constraints are merely reports of constraints that are being enforced by the remote server (or other underlying storage mechanism). Their only real use is to allow planner optimizations, for example in constraint-exclusion checks. Thus, the code changes here amount to little more than removal of the error that was formerly thrown for applying CHECK to a foreign table. (In passing, do a bit of cleanup of the ALTER FOREIGN TABLE reference page, which had accumulated some weird decisions about ordering etc.) Shigeru Hanada and Etsuro Fujita, reviewed by Kyotaro Horiguchi and Ashutosh Bapat.
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions