Re: Cannot restore dumps made with -Fc and --column-inserts

From: Dick Visser <visser(at)terena(dot)org>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Cannot restore dumps made with -Fc and --column-inserts
Date: 2012-01-04 20:10:59
Message-ID: CAEQQDNnO1AHhK06AaxXMiFPOdJUoO+jUCmG33NW4fd5pDMqkCA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 4 January 2012 19:14, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Dick Visser <visser(at)terena(dot)org> writes:
>> Running pg on Ubuntu 10.04 64bit, which is 8.4.9 today.
>> When I do a pg_dump using --column-inserts, the subsequent restore fails:
>
> Ugh ... I think I broke this :-(.
>
> As a workaround, you can ask pg_restore for plain text output and
> pipe that to psql.

Pfew, that worked, I actually didn't know about this SQL mode of pg_restore.
At least my backups are not useless :-)

--
Dick Visser
System & Networking Engineer
TERENA Secretariat
Singel 468 D, 1017 AW Amsterdam
The Netherlands

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tim Olvey 2012-01-04 20:18:45 LDAP SSL authentication no longer supported in 8.4.8
Previous Message Dick Visser 2012-01-04 19:53:18 Re: List archives dead?