Re: [HACKERS] Ordering of pg_dump output

From: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>
To: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Ordering of pg_dump output
Date: 2000-02-08 22:50:03
Message-ID: 38A09D9B.F7833335@nimrod.itg.telecom.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Tom Lane wrote:
> >
> > The simplest real solution I've heard so far is to dump database objects
> > in order by OID rather than doing it strictly by type.

Hmm. Now if my OO stuff was working I guess pg_dump could be implemented
as...

List<PGObject*> dblist = pgselect("SELECT ** from object order by oid");
while (dblist.begin(); !dblist.atEnd(); dblist++) {
dblist.obj().dump();

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-02-09 00:09:53 Re: [HACKERS] Ordering of pg_dump output
Previous Message Chris Bitmead 2000-02-08 22:41:17 Re: AW: [HACKERS] Another nasty cache problem