pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: chen@musc.edu
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dumpall failed
Date: Mon, 20 Sep 2004 10:40:25 -0400
Message-ID: <11352.1095691225@sss.pgh.pa.us> (raw)
In-Reply-To: <414ECD87.4040602@musc.edu>
References: <414ECD87.4040602@musc.edu>

Chuming Chen <chen@musc.edu> writes:
> I am using  pg_dumpall (pg_dumpall -o > backup) to backup postgresql 
> 7.2.3 datatbase on Redhat Linux 8. It worked well, but recently, it 
> failed and gave me the following messages:

> pg_dump: query to get data of sequence "est_att_p_por_id_seq" returned 
> name "est_att_p_porites_id_seq"
> pg_dumap failed on xxxxx, exiting

> Can anybody tell me what might go wrong here?

You renamed the sequence.  pg_dump back then had a (misguided) consistency
check that would barf on renamed sequences.  If you don't mind hacking
the source code, it's a simple deletion of a few lines to take it out.

7.2.3 is pretty nearly ancient history; I'd suggest an update.

			regards, tom lane



view thread (8+ messages)

Message-ID: <11352.1095691225@sss.pgh.pa.us>
Permalink:  ../11352.1095691225@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11352.1095691225@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, chen@musc.edu
  Subject: Re: pg_dumpall failed
  In-Reply-To: <11352.1095691225@sss.pgh.pa.us>
  References: <414ECD87.4040602@musc.edu> <11352.1095691225@sss.pgh.pa.us>

* 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