aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2012-07-20 12:33:34 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2012-07-20 14:08:07 -0400
commitf5bcd398addcbeb785f0513cf28cba5d1ecd2c8a (patch)
treee351181eb9be8b7a11a5294e002833b40e0b9ddc /src/backend/access/gist
parent8e617e29aaccfdd1b85af7f50dc83aa6dd7ef550 (diff)
downloadpostgresql-f5bcd398addcbeb785f0513cf28cba5d1ecd2c8a.tar.gz
postgresql-f5bcd398addcbeb785f0513cf28cba5d1ecd2c8a.zip
connoinherit may be true only for CHECK constraints
The code was setting it true for other constraints, which is bogus. Doing so caused bogus catalog entries for such constraints, and in particular caused an error to be raised when trying to drop a constraint of types other than CHECK from a table that has children, such as reported in bug #6712. In 9.2, additionally ignore connoinherit=true for other constraint types, to avoid having to force initdb; existing databases might already contain bogus catalog entries. Includes a catversion bump (in HEAD only). Bug report from Miroslav Ć ulc Analysis from Amit Kapila and Noah Misch; Amit also contributed the patch.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions