From: rajkumarmca1488@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #9384: Restore Database using psql utility fails
Date: Fri, 28 Feb 2014 14:55:07 +0000
Message-ID: <20140228145507.29535.54048@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 9384
Logged by: Rajkumar.K
Email address: rajkumarmca1488@gmail.com
PostgreSQL version: 9.3.2
Operating system: Linux CentsOs 6.4
Description:
Fine i have taken backup of my database using "pg_dump" utility(dump file
name is "testbackup.sql").Before restoring it back,i dropped all
tables,view,sequences,functions which i have created. After that using
"psql" command try to restore the dump back.But it shows the duplicate-key
violation error.
Error : psql.bin:testbackup.sql:17884: ERROR: duplicate key value violates
unique constraint "pg_largeobject_metadata_oid_index".I googled in internet
but i cant come to a correct solution.so Kindly provide us theproper
solution.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: rajkumarmca1488@gmail.com
Subject: Re: BUG #9384: Restore Database using psql utility fails
In-Reply-To: <20140228145507.29535.54048@wrigleys.postgresql.org>
References: <20140228145507.29535.54048@wrigleys.postgresql.org>
* 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