From: Michael Fuhr <mike@fuhr.org>
To: David Sáez Palacios <david.test@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems recovering sequences from a backup done with pg_dump
Date: Sun, 10 Apr 2005 20:44:17 -0600
Message-ID: <20050411024417.GA16234@winnie.fuhr.org> (raw)
In-Reply-To: <73eeb6bd0504060418ef760cc@mail.gmail.com>
References: <73eeb6bd0504060418ef760cc@mail.gmail.com>
On Wed, Apr 06, 2005 at 10:18:34AM -0100, David Sáez Palacios wrote:
>
> I've done a dump from a PostgreSQL 7.4.5 using pg_dump and it worked find.
> The problem comes when I restore the backup and all the sequences values are
> 1. I can fix the problem manually giving the sequeces their appropiate value
> but I wonder wether is a way to force pg_dump to store this information.
I just did some simple tests with 7.4.7 and sequence values were
restored. What commands are you running? Could you provide a
complete test case that demonstrates the problem?
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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: mike@fuhr.org, david.test@gmail.com
Subject: Re: Problems recovering sequences from a backup done with pg_dump
In-Reply-To: <20050411024417.GA16234@winnie.fuhr.org>
References: <73eeb6bd0504060418ef760cc@mail.gmail.com> <20050411024417.GA16234@winnie.fuhr.org>
* 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