Re: pg_dump and BINARY mode COPY

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump and BINARY mode COPY
Date: 2007-12-06 18:07:32
Message-ID: 1196964452.4255.430.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2007-12-06 at 12:43 -0500, Tom Lane wrote:
> Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> > Is there a reason why pg_dump avoids using BINARY mode COPY?
>
> To preserve platform and version independence of the dump.

OK, thats what I guessed.

> > Unless there is a specific reason not to we could/should allow an option
> > on the dump.
>
> Is there any evidence to show that there'd be enough benefit to warrant
> taking such a risk with your dumps?

Only if there is a risk. Since a common route to upgrade is a
dump/restore back onto same box it seems worth having an option to do
this.

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-12-06 18:08:43 Re: [HACKERS] BUG #3799: csvlog skips some logs
Previous Message Alvaro Herrera 2007-12-06 18:04:01 Re: [HACKERS] BUG #3799: csvlog skips some logs