pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: psql database recovery error
Date: Mon, 16 Sep 2002 16:48:27 -0400
Message-ID: <20020916164827.X4394@mail.libertyrms.com> (raw)
In-Reply-To: <6064f39b.0209120110.4b0cb6fe@posting.google.com>
References: <6064f39b.0209120110.4b0cb6fe@posting.google.com>

On Thu, Sep 12, 2002 at 02:10:19AM -0700, pgomez wrote:
> Hi everybody,
> 
> when I'm trying to recover the database using the command "psql
> database < database.file" I'm getting the error:
>    
> "ERROR: copy line 1. Cannot insert duplicate key into unique index
> table_pkey
> lost synchronization with server, resetting connection"

Did you pg_dump with -c?  Maybe the old data is in the database, so
you can't re-insert it?

A

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




view thread (2+ messages)

Message-ID: <20020916164827.X4394@mail.libertyrms.com>
Permalink:  ../20020916164827.X4394@mail.libertyrms.com/
Also on:    postgresql.org/message-id/20020916164827.X4394@mail.libertyrms.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: andrew@libertyrms.info
  Subject: Re: psql database recovery error
  In-Reply-To: <20020916164827.X4394@mail.libertyrms.com>
  References: <6064f39b.0209120110.4b0cb6fe@posting.google.com> <20020916164827.X4394@mail.libertyrms.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox