Re: bug with constraint dependencies? or bug with - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bug with constraint dependencies? or bug with
Date
Msg-id 8381.1062096625@sss.pgh.pa.us
Whole thread Raw
In response to Re: bug with constraint dependencies? or bug with  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
List pgsql-hackers
It looks like the problem has been introduced by recent changes to dump
more stuff as "constraints".  pg_dump is careful to dump indexes before
constraints --- but the latter category now includes not only foreign
key constraints, but unique/primary constraints, and those will all end
up sorted by pg_constraint OID, it looks like.  I think that should work
anyway, most of the time, but clearly after an OID wraparound it's
possible for the OID-order heuristic to fail.  So we need to tweak
pg_dump to categorize the different kinds of constraints separately.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: New array functions
Next
From: "Matthew T. O'Connor"
Date:
Subject: full text archives working?