aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-08-03 15:47:02 +0000
committerRobert Haas <rhaas@postgresql.org>2010-08-03 15:47:02 +0000
commit31b6fc06d83c6de3644c8f2921eb7de0eb92fac3 (patch)
treec27aed47f845d6931ad64f7ebf40edc5aea08187 /src/backend/utils/adt/numeric.c
parent8c19d14be57225d52f0cbdce48a9c7e26aa74a27 (diff)
downloadpostgresql-31b6fc06d83c6de3644c8f2921eb7de0eb92fac3.tar.gz
postgresql-31b6fc06d83c6de3644c8f2921eb7de0eb92fac3.zip
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.
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions