postgresql/src/backend/commands
Tom Lane cd902b331d Change the rules for inherited CHECK constraints to be essentially the same
as those for inherited columns; that is, it's no longer allowed for a child
table to not have a check constraint matching one that exists on a parent.
This satisfies the principle of least surprise (rows selected from the parent
will always appear to meet its check constraints) and eliminates some
longstanding bogosity in pg_dump, which formerly had to guess about whether
check constraints were really inherited or not.

The implementation involves adding conislocal and coninhcount columns to
pg_constraint (paralleling attislocal and attinhcount in pg_attribute)
and refactoring various ALTER TABLE actions to be more like those for
columns.

Alex Hunsaker, Nikhil Sontakke, Tom Lane
2008-05-09 23:32:05 +00:00
..
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
aggregatecmds.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
alter.c Support ALTER TYPE RENAME. Petr Jelinek 2008-03-19 18:38:30 +00:00
analyze.c Allow float8, int8, and related datatypes to be passed by value on machines 2008-04-21 00:26:47 +00:00
async.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
cluster.c Change the rules for inherited CHECK constraints to be essentially the same 2008-05-09 23:32:05 +00:00
comment.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
conversioncmds.c Reduce the need for frontend programs to include "postgres.h" by refactoring 2008-03-27 03:57:34 +00:00
copy.c Rename snapmgmt.c/h to snapmgr.c/h, for consistency with other files. 2008-03-26 18:48:59 +00:00
dbcommands.c Fix rmtree() so that it keeps going after failure to remove any individual 2008-04-18 17:05:45 +00:00
define.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
discard.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
explain.c Cause EXPLAIN's VERBOSE option to print the target list (output column list) 2008-04-18 01:42:17 +00:00
functioncmds.c Reduce the need for frontend programs to include "postgres.h" by refactoring 2008-03-27 03:57:34 +00:00
indexcmds.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
lockcmds.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
opclasscmds.c Push index operator lossiness determination down to GIST/GIN opclass 2008-04-14 17:05:34 +00:00
operatorcmds.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
portalcmds.c Revert my bad decision of about a year ago to make PortalDefineQuery 2008-04-02 18:31:50 +00:00
prepare.c Revert my bad decision of about a year ago to make PortalDefineQuery 2008-04-02 18:31:50 +00:00
proclang.c Fix REASSIGN OWNED so that it works on procedural languages too. 2008-04-29 19:37:04 +00:00
schemacmds.c Make standard maintenance operations (including VACUUM, ANALYZE, REINDEX, 2008-01-03 21:23:15 +00:00
sequence.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tablecmds.c Change the rules for inherited CHECK constraints to be essentially the same 2008-05-09 23:32:05 +00:00
tablespace.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
trigger.c Support statement-level ON TRUNCATE triggers. Simon Riggs 2008-03-28 00:21:56 +00:00
tsearchcmds.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
typecmds.c Change the rules for inherited CHECK constraints to be essentially the same 2008-05-09 23:32:05 +00:00
user.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
vacuum.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
vacuumlazy.c Move the HTSU_Result enum definition into snapshot.h, to avoid including 2008-03-26 21:10:39 +00:00
variable.c Rename snapmgmt.c/h to snapmgr.c/h, for consistency with other files. 2008-03-26 18:48:59 +00:00
view.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00