X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E518C476305 for ; Wed, 23 Apr 2003 14:15:59 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 389A7474E42 for ; Wed, 23 Apr 2003 14:15:53 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 1E85A43A89E; Wed, 23 Apr 2003 14:15:53 -0400 (EDT) From: vikas.dogra@tabs.toshiba.com (Vikas) X-Newsgroups: comp.databases.postgresql.admin Subject: After restoring a database using pg_restore , cannot insert or update records in tables with primary keys Date: 23 Apr 2003 11:15:36 -0700 Organization: http://groups.google.com/ Lines: 14 Message-ID: <295585d4.0304231015.49a83e95@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-6.6 required=5.0 tests=BAYES_01 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/359 X-Sequence-Number: 8514 We are using Postgres Version 7.3.2 We backup and restore Postgres databases using pg_dump and pg_restore. Though pg_restore process does not throw any exception but After using it for restoring we are not able to insert or update records in the tables having Primary Keys. The message we get is "The primary key is not a btree." When we run postgres in Debug mode then this problem does not come. The same code of backup restore was working for postgres version 7.2. Any ideas? Thanks Vikas