X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 13A79D1B51D for ; Thu, 2 Oct 2003 19:42:14 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 63599-08 for ; Thu, 2 Oct 2003 16:41:28 -0300 (ADT) Received: from abe.micropat.com (abe.micropat.com [204.17.221.119]) by svr1.postgresql.org (Postfix) with ESMTP id 84552D1B4E1 for ; Thu, 2 Oct 2003 16:41:26 -0300 (ADT) Received: from micropat.com ([204.17.221.90]) by abe.micropat.com (Netscape Messaging Server 4.15) with ESMTP id HM5AOO00.R0F for ; Thu, 2 Oct 2003 15:41:12 -0400 Message-ID: <3F7C810C.4C38778C@micropat.com> Date: Thu, 02 Oct 2003 15:48:28 -0400 From: "Rob Long" X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: pg_restore fails postgres 7.3.4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=RCVD_IN_OSIRUSOFT_COM, USER_AGENT_MOZILLA_XM X-Spam-Level: X-Archive-Number: 200310/42 X-Sequence-Number: 10603 Trying to dump and restore a production database with no success. pg_dump database using the following: pg_dump -v -b -C -Fc -U postgres -f servdb.tar.gz servdb pg_restore with with following: pg_restore -v -C -D template1 -Fc -U postgres servdb.tar.gz restore fails with: pg_restore: [archiver (db)] could not execute query: ERROR: data type integer has no default operator class for access method "gist" You must specify an operator class for the index or define a default operator class for the data type pg_restore: ***aborted because of error