Re: Table constraint ordering disrupted by pg_dump

Philip Warner <pjw@rhyme.com.au>

From: Philip Warner <pjw@rhyme.com.au>
To: Tom Lane <tgl@sss.pgh.pa.us>, pholben@greatbridge.com, pgsql-bugs@postgresql.org
Date: 2001-04-03T03:14:48Z
Lists: pgsql-bugs
At 16:40 2/04/01 -0400, Tom Lane wrote:
>
>I don't believe this is a bug.  There is no guarantee that constraints
>are checked in any particular order.
>

While it't not a bug, it would be nice if pg_dump reproduced definitions as
faithfully as possible. To that end, would it be worth selecting the
constraints in OID order (using oid from pg_relcheck)?


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/