postgresql/src/backend/commands
Robert Haas 31b6fc06d8 Fix inheritance count tracking in ALTER TABLE .. ADD CONSTRAINT.
Without this patch, constraints inherited by children of a parent
table which itself has multiple inheritance parents can end up with
the wrong coninhcount.  After dropping the constraint, the children
end up with a leftover copy of the constraint that is not dumped
and cannot be dropped.  There is a similar problem with ALTER TABLE
.. ADD COLUMN, but that looks significantly more difficult to
resolve, so I'm committing this fix separately.

Back-patch to 8.4, which is the first release that has coninhcount.

Report by Hank Enting.
2010-08-03 15:47:02 +00:00
..
Makefile Support deferrable uniqueness constraints. 2009-07-29 20:56:21 +00:00
aggregatecmds.c Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
alter.c Reduce lock levels of CREATE TRIGGER and some ALTER TABLE, CREATE RULE actions. 2010-07-28 05:22:24 +00:00
analyze.c Fix ANALYZE's ancient deficiency of not trying to collect stats for expression 2010-08-01 22:38:11 +00:00
async.c Modify ShmemInitStruct and ShmemInitHash to throw errors internally, 2010-04-28 16:54:16 +00:00
cluster.c Add explicit regression tests for ALTER TABLE lock levels. 2010-07-29 11:06:34 +00:00
comment.c Fix ALTER LARGE OBJECT and GRANT ... ON LARGE OBJECT for large OIDs. 2010-06-13 17:43:13 +00:00
constraint.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
conversioncmds.c Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
copy.c Centralize DML permissions-checking logic. 2010-07-22 00:47:59 +00:00
dbcommands.c Properly replay CREATE TABLESPACE during crash recovery by deleting 2010-07-20 18:14:16 +00:00
define.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
discard.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
explain.c Teach EXPLAIN to print PARAM_EXEC Params as the referenced expressions, 2010-07-13 20:57:19 +00:00
foreigncmds.c Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
functioncmds.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
indexcmds.c pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
lockcmds.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
opclasscmds.c Remove duplicate code in DefineOpFamily(). 2010-07-16 00:13:23 +00:00
operatorcmds.c pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
portalcmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
prepare.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
proclang.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
schemacmds.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
sequence.c CREATE TABLE IF NOT EXISTS. 2010-07-25 23:21:22 +00:00
tablecmds.c Fix inheritance count tracking in ALTER TABLE .. ADD CONSTRAINT. 2010-08-03 15:47:02 +00:00
tablespace.c Properly replay CREATE TABLESPACE during crash recovery by deleting 2010-07-20 18:14:16 +00:00
trigger.c Reduce lock levels of CREATE TRIGGER and some ALTER TABLE, CREATE RULE actions. 2010-07-28 05:22:24 +00:00
tsearchcmds.c Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
typecmds.c Reduce lock levels of CREATE TRIGGER and some ALTER TABLE, CREATE RULE actions. 2010-07-28 05:22:24 +00:00
user.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
vacuum.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
vacuumlazy.c pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
variable.c Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00
view.c CREATE TABLE IF NOT EXISTS. 2010-07-25 23:21:22 +00:00