Re: Bug in pg_dump/restore -o

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Philip Warner <pjw(at)rhyme(dot)com(dot)au>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug in pg_dump/restore -o
Date: 2002-01-18 04:26:11
Message-ID: 4029.1011327971@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> My only comment here is that I don't see a need to set the oid counter
> for a schema-only restore because there are no oid's in the schema dump
> anyway.

Given a pg_dump archive containing OIDs, I would expect a schema-only
pg_restore followed by a data-only pg_restore to produce the same end
result as a schema+data restore, no?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-01-18 04:30:43 Re: Bug in pg_dump/restore -o
Previous Message Tom Lane 2002-01-18 04:24:29 Re: Bug in pg_dump/restore -o