pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: vikas.dogra@tabs.toshiba.com
To: pgsql-admin@postgresql.org
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
Message-ID: <295585d4.0304231015.49a83e95@posting.google.com> (raw)

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




view thread (2+ messages)  latest in thread

Message-ID: <295585d4.0304231015.49a83e95@posting.google.com>
Permalink:  ../295585d4.0304231015.49a83e95@posting.google.com/
Also on:    postgresql.org/message-id/295585d4.0304231015.49a83e95@posting.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: vikas.dogra@tabs.toshiba.com
  Subject: Re: After restoring a database using pg_restore , cannot insert or update records in tables with primary keys
  In-Reply-To: <295585d4.0304231015.49a83e95@posting.google.com>
  References: <295585d4.0304231015.49a83e95@posting.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox