Re: Interrupted pg_dump / pg_restore Upgrade

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thomas F(dot) O'Connell" <tf(at)o(dot)ptimized(dot)com>
Cc: PgSQL-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Interrupted pg_dump / pg_restore Upgrade
Date: 2007-01-05 01:03:43
Message-ID: 7487.1167959023@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Thomas F. O'Connell" <tf(at)o(dot)ptimized(dot)com> writes:
> My big question is: Is there anything that happens late in the game
> in a pg_dumpall that affects system catalogs or other non-data
> internals in any critical ways that would make an interrupted
> pg_dumpall | psql sequence unstable?

There's quite a lot of stuff that happens after the data load, yes.
One thought that comes to mind is that permissions aren't
granted/revoked until somewhere near the end. But why don't you
look at the output of "pg_dumpall -s" and find out for yourself
what got lost?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message nyenyec 2007-01-05 01:25:46 GUI tool that can reverse engineering schemas
Previous Message Thomas F. O'Connell 2007-01-05 00:18:40 Interrupted pg_dump / pg_restore Upgrade