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

Restoring a Databases that features tserach2

From: Fischer Ulrich <ulrich(dot)fischer(at)aerodynamics(dot)ch>
To: pgsql-admin(at)postgresql(dot)org
Subject: Restoring a Databases that features tserach2
Date: 2004-04-22 08:55:06
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-adminpgsql-general

I'm trying to restore tsearch2 featuring database like discribed in the 
'tsearch-V2-intro' document.

In point '5) Restore the data for the database' I get the following Error:

pg_restore: ERROR:  duplicate key violates unique constraint 
CONTEXT:  COPY pg_ts_dict, line 1: "simple      215247  \N      215248 
Simple example of dictionary."
pg_restore: [archiver (db)] error returned by PQendcopy
pg_restore: *** aborted because of error

Does anybody have some experience in this task?



Ulrich G. Fischer                       Dipl. Natw. ETH
Center Aerodynamics                     Ruag Aerospace
P.O. Box 301                            CH-6032 Emmen
Tel. +41 41 268 23 53                   Fax. +41 41 268 38 97


pgsql-admin by date

Next:From: Andreas SchmitzDate: 2004-04-22 08:55:17
Subject: Problems with select lower()
Previous:From: Chris White (cjwhite)Date: 2004-04-22 06:45:27
Subject: Re: Problems doing a restore under 7.4.2

pgsql-general by date

Next:From: Fischer UlrichDate: 2004-04-22 08:59:51
Subject: Restoring a Databases that features tserach2
Previous:From: Stijn VanroyeDate: 2004-04-22 08:41:16
Subject: Re: Unicode problem ???

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