postgresql/contrib/file_fdw
Tom Lane fc2ac1fb41 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.
2014-12-17 17:00:53 -05:00
..
data
expected
input Allow CHECK constraints to be placed on foreign tables. 2014-12-17 17:00:53 -05:00
output Allow CHECK constraints to be placed on foreign tables. 2014-12-17 17:00:53 -05:00
sql
.gitignore
file_fdw--1.0.sql
file_fdw.c
file_fdw.control
Makefile