Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJYmi-0001ZE-0S for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Mar 2014 01:32:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WJYmg-0007EX-Cy for pgsql-bugs@arkaria.postgresql.org; Sat, 01 Mar 2014 01:32:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJOr7-00085K-C1 for pgsql-bugs@postgresql.org; Fri, 28 Feb 2014 14:56:05 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WJOr5-0007nz-4B for pgsql-bugs@postgresql.org; Fri, 28 Feb 2014 14:56:05 +0000 MIME-Version: 1.0 Subject: BUG #9384: Restore Database using psql utility fails To: pgsql-bugs@postgresql.org From: rajkumarmca1488@gmail.com Date: Fri, 28 Feb 2014 14:55:07 +0000 Message-ID: <20140228145507.29535.54048@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.1 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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