Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group