Re: Bug in pg_dump/restore -o - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug in pg_dump/restore -o
Date
Msg-id 4029.1011327971@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug in pg_dump/restore -o  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Bug in pg_dump/restore -o
Next
From: Bruce Momjian
Date:
Subject: pg_upgrade