pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psql database recovery error
2+ messages / 2 participants
[nested] [flat]

* psql database recovery error
@ 2002-09-12 09:10 pgomez <pgomez@freesurf.ch>
  2002-09-16 20:48 ` Re: psql database recovery error Andrew Sullivan <andrew@libertyrms.info>
  0 siblings, 1 reply; 2+ messages in thread

From: pgomez@freesurf.ch @ 2002-09-12 09:10 UTC (permalink / raw)
  To: pgsql-admin

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"

Thanks for help

Philipp



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: psql database recovery error
  2002-09-12 09:10 psql database recovery error pgomez <pgomez@freesurf.ch>
@ 2002-09-16 20:48 ` Andrew Sullivan <andrew@libertyrms.info>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Sullivan @ 2002-09-16 20:48 UTC (permalink / raw)
  To: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-09-16 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-09-12 09:10 psql database recovery error pgomez <pgomez@freesurf.ch>
2002-09-16 20:48 ` Andrew Sullivan <andrew@libertyrms.info>

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