Skip site navigation (1) Skip section navigation (2)

Re: Re: 7.1 pg_dump fails for user-defined types (release stopper?)

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org, pholben(at)greatbridge(dot)com
Subject: Re: Re: 7.1 pg_dump fails for user-defined types (release stopper?)
Date: 2001-03-31 05:58:04
Message-ID: 3.0.5.32.20010331155804.028aca10@mail.rhyme.com.au (view raw or flat)
Thread:
Lists: pgsql-hackers
At 15:49 31/03/01 +1000, Philip Warner wrote:
>
>    (TOC2 > TOC1) 
>        iff      (Max(TOC2.OID, TOC2.DEPS) > Max(TOC1.OID, TOC1.DEPS))
>             OR  (    Max(TOC2.OID, TOC2.DEPS) = Max(TOC1.OID, TOC1.DEPS)
>                  And TOC1.OID = Max(TOC2.DEPS)
>                 )
>
>    Where DEPS is a list of OIDs the TOC entry depends on.
>
>(I *think* that's right...).
>

This will of course not handle multi-level dependencies. But for the simple
ordering we are talking about, I think it will work. It can be extended
later when we want to walk a complete dependency tree.


----------------------------------------------------------------
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   |/

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2001-03-31 06:36:22
Subject: Re: Re: Changing the default value of an inherited column
Previous:From: Philip WarnerDate: 2001-03-31 05:49:26
Subject: Re: 7.1 pg_dump fails for user-defined types (release stopper?)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group