pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dinesh Bhandary <dbhandary@iii.com>
To: pgsql-admin@postgresql.org
Subject: concurrent delete in postgers/error pg_restore
Date: Fri, 08 Oct 2010 16:34:02 -0700
Message-ID: <4CAFAA6A.2050302@iii.com> (raw)

  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



Message-ID: <4CAFAA6A.2050302@iii.com>
Permalink:  ../4CAFAA6A.2050302@iii.com/
Also on:    postgresql.org/message-id/4CAFAA6A.2050302@iii.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: dbhandary@iii.com
  Subject: Re: concurrent delete in postgers/error pg_restore
  In-Reply-To: <4CAFAA6A.2050302@iii.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