Re: Interrupted pg_dump / pg_restore Upgrade

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


On Jan 4, 2007, at 7:03 PM, Tom Lane wrote:

> "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?

Yeah, now that I think about it, though, everything that pg_dumpall
produces is SQL or DDL, so unless it does anything involving
preservation of system catalogs that is critical, I'm somewhat less
concerned about this particular issue.

I still intend to review the schema diff, but I think there are some
other issues that need investigation as well.

Thanks for the tip.

--
Thomas F. O'Connell

optimizing modern web applications
: for search engines, for usability, and for performance :

http://o.ptimized.com/
615-260-0005

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James Neff 2007-01-05 20:26:45 Re: Database versus filesystem for storing images
Previous Message Bruno Wolff III 2007-01-05 20:13:00 Re: Continue sequence