Re: Order of operations in ascii vs archive format (moderately urgent)

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Order of operations in ascii vs archive format (moderately urgent)
Date: 2009-07-21 16:54:47
Message-ID: 4A65F2D7.8000901@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Wonderful news.

I just ran dump and restore against same production server. Constraints
and the absence of drop <object> calls appears to have saved my butt.

Tom Lane wrote:
> Rob Sargent <robjsargent(at)gmail(dot)com> writes:
>
>> Is there a difference in the order of execution between an ascii dump
>> and one using the "custom" format? Or any difference in the general
>> operation?
>>
>
> There's not supposed to be. One standard test on the pg_dump code is
> pg_dump >textfile
> pg_dump -Fc >dumpfile
> pg_restore dumpfile >textfile2
> diff textfile textfile2
> If these don't produce the same results something is broken.
>
> regards, tom lane
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Rob Sargent 2009-07-21 17:24:27 Re: Order of operations in ascii vs archive format (moderately urgent)
Previous Message Tom Lane 2009-07-21 16:49:52 Re: Order of operations in ascii vs archive format (moderately urgent)