Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E14691337B9C for ; Fri, 8 Oct 2010 20:34:11 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 95402-08 for ; Fri, 8 Oct 2010 23:34:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mailgate.iii.com (mailgate.iii.com [205.227.88.3]) by mail.postgresql.org (Postfix) with ESMTP id 6B137133729E for ; Fri, 8 Oct 2010 20:34:04 -0300 (ADT) Received: from mailhub.iii.com (mailhub [10.1.2.3]) by mailgate.iii.com (8.13.6/8.13.6) with ESMTP id o98NQstk008038 for ; Fri, 8 Oct 2010 16:26:54 -0700 (PDT) Received: from [10.1.7.210] ([10.1.7.210]) by mailhub.iii.com (8.13.6/8.13.6) with ESMTP id o98NarM5020301 for ; Fri, 8 Oct 2010 16:36:53 -0700 (PDT) Message-ID: <4CAFAA6A.2050302@iii.com> Date: Fri, 08 Oct 2010 16:34:02 -0700 From: Dinesh Bhandary Reply-To: dbhandary@iii.com Organization: Innovative Interfaces User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: concurrent delete in postgers/error pg_restore Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/82 X-Sequence-Number: 35823 HI All, I feel like I am in a very weird situation. I took a postgres dump because db was bloated and in the process of restoring it and running into several issues. I run postgres 8.4.1 on red hat. Here is what id did. 1) pg_dump 2) drop db 3) pg_restore on the same cluster ( where there are more than one instance of databases running) where it creates a db. restore is complaining about a single table which happens to be large ( aboutt 30 million rows). Restore process can't seem to add foreign key constraints and fails with the following error: could not access status of transaction ... . pg_clog file does not exist. Why does it care about pg_clog file when it is just a restore from a good dump. When I tried to add a constraint separately, it says - "concurrent delete in progress". I am at loss on why I keep on getting these weird error messages. It is supposed to be simple dump/restore process. Any ideas?? I appreciate your help. Thanks. Dinesh