Restoring a Databases that features tserach2 - Mailing list pgsql-general

From Fischer Ulrich
Subject Restoring a Databases that features tserach2
Date
Msg-id 40878987.5010006@aerodynamics.ch
Whole thread Raw
List pgsql-general
Hi

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

(http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/tsearch-V2-intro.html)

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

pg_restore: ERROR:  duplicate key violates unique constraint
"pg_ts_dict_pkey"
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?

Thanks

Ulrich


--
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
ulrich.fischer@aerodynamics.ch          www.ruag.com



pgsql-general by date:

Previous
From: "Stijn Vanroye"
Date:
Subject: Re: Unicode problem ???
Next
From: "Tumurbaatar S."
Date:
Subject: What is wrong here?