pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: s.chava@wcom.com
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dumpall and pg_dumps
Date: Thu, 21 Feb 2002 12:53:59 -0500
Message-ID: <8541.1014314039@sss.pgh.pa.us> (raw)
In-Reply-To: <66d229f1.0202210729.1414c5cc@posting.google.com>
References: <66d229f1.0202210729.1414c5cc@posting.google.com>

s.chava@wcom.com (Srinivasa Rao Chava) writes:
> Pg_dumpall is giving hard time in restoring the database.I opened the
> dump and checked it . There are lot of problem in connectin and
> reconnecting  and plpgsql language call handler.

This is not helpful; if you want us to fix things you're going to have
to give details.

There are known problems in reloading 7.1 dumps into 7.2 if you use
mixed-case user names or database names; might that be the source
of some of your problems?  Are there other problems?

> SELECT setval ('"mysequence"', 1, 't'); Notonly that , there is
> one more error. At the time of setting the sequence value, it has
> to reconnect as the sequence owner.

Yup, this is a known bug in 7.1's pg_dump.  It is fixed in current
sources, but we cannot retroactively make the problem go away :-(.

The only solution I can offer you at the moment is manual editing 
of the dump script.  When 7.2.1 comes out, a reasonable alternative
will be to use 7.2.1's pg_dump to perform the dump from 7.1.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <8541.1014314039@sss.pgh.pa.us>
Permalink:  ../8541.1014314039@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8541.1014314039@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, s.chava@wcom.com
  Subject: Re: pg_dumpall and pg_dumps
  In-Reply-To: <8541.1014314039@sss.pgh.pa.us>
  References: <66d229f1.0202210729.1414c5cc@posting.google.com> <8541.1014314039@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