pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problems recovering sequences from a backup done with pg_dump
2+ messages / 2 participants
[nested] [flat]

* Problems recovering sequences from a backup done with pg_dump
@ 2005-04-06 11:18 David Sáez Palacios <david.test@gmail.com>
  2005-04-11 02:44 ` Re: Problems recovering sequences from a backup done with pg_dump Michael Fuhr <mike@fuhr.org>
  0 siblings, 1 reply; 2+ messages in thread

From: David Sáez Palacios @ 2005-04-06 11:18 UTC (permalink / raw)
  To: pgsql-admin

Hi all,

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. Any 
help will be welcome!

Thanks in advance,

David Saez Palacios.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Problems recovering sequences from a backup done with pg_dump
  2005-04-06 11:18 Problems recovering sequences from a backup done with pg_dump David Sáez Palacios <david.test@gmail.com>
@ 2005-04-11 02:44 ` Michael Fuhr <mike@fuhr.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Fuhr @ 2005-04-11 02:44 UTC (permalink / raw)
  To: David Sáez Palacios <david.test@gmail.com>; +Cc: pgsql-admin

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/



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-04-11 02:44 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-06 11:18 Problems recovering sequences from a backup done with pg_dump David Sáez Palacios <david.test@gmail.com>
2005-04-11 02:44 ` Michael Fuhr <mike@fuhr.org>

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