X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BBE18D1B498 for ; Thu, 22 Apr 2004 05:55:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 53812-05 for ; Thu, 22 Apr 2004 05:55:08 -0300 (ADT) Received: from atlantis.aerodynamics.ch (mail02.aerodynamics.ch [192.54.122.8]) by svr1.postgresql.org (Postfix) with SMTP id 0CFF4D1B47D for ; Thu, 22 Apr 2004 05:55:05 -0300 (ADT) Received: from aerodynamics.ch (susi95.fwe-tf.ch [192.168.0.95]) by atlantis.aerodynamics.ch (8.11.6/8.11.6) with ESMTP id i3M8t6h10009 for ; Thu, 22 Apr 2004 10:55:06 +0200 Message-ID: <4087886A.9080709@aerodynamics.ch> Date: Thu, 22 Apr 2004 10:55:06 +0200 From: Fischer Ulrich Organization: Ruag Aerospace User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20030906 X-Accept-Language: de-ch, en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Restoring a Databases that features tserach2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/287 X-Sequence-Number: 13260 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