pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Randall Smith <randall@tnr.cc>
To: pgsql-admin@postgresql.org
Subject: Re: sequence not set with pg_restore
Date: Tue, 12 Oct 2004 16:30:55 -0500
Message-ID: <j2Yad.16064$_g6.11879@okepread03> (raw)
In-Reply-To: <txTad.35642$Lo6.33296@fed1read03>
References: <txTad.35642$Lo6.33296@fed1read03>

Randall Smith wrote:
> I'm dumped a database on 7.4.0.3 using pg_restore -Fc mydb > mydb.dump.
> 
> I then restored it using pg_restore -d dwstest -U dba mydb.dump on 
> another server running 7.4.5-3.
> 
> After importing, all of the sequences are set to 0.  Did I miss a step?
> 
> Randall
As a note, using pg_dump with plain text format does not have this 
problem.  So is there a bug in the custom format?

Randall



view thread (3+ messages)  latest in thread

Message-ID: <j2Yad.16064$_g6.11879@okepread03>
Permalink:  ../j2Yad.16064$_g6.11879@okepread03/
Also on:    postgresql.org/message-id/j2Yad.16064$_g6.11879@okepread03

 · 

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: randall@tnr.cc
  Subject: Re: sequence not set with pg_restore
  In-Reply-To: <j2Yad.16064$_g6.11879@okepread03>
  References: <txTad.35642$Lo6.33296@fed1read03> <j2Yad.16064$_g6.11879@okepread03>

* 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