postgresql/contrib/postgres_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
..
expected Allow CHECK constraints to be placed on foreign tables. 2014-12-17 17:00:53 -05:00
sql Allow CHECK constraints to be placed on foreign tables. 2014-12-17 17:00:53 -05:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
Makefile Fix SHLIB_PREREQS use in contrib, allowing PGXS builds 2014-12-04 07:58:12 -05:00
connection.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
deparse.c Fix mishandling of system columns in FDW queries. 2014-11-22 16:01:05 -05:00
option.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c Revert misguided change to postgres_fdw FOR UPDATE/SHARE code. 2014-12-12 12:41:49 -05:00
postgres_fdw.control Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.h postgres_fdw.h: don't pull in rel.h when relcache.h is enough 2014-11-14 21:48:53 -03:00