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: sequence not set with pg_restore
Date: Tue, 12 Oct 2004 11:22:47 -0500
Message-ID: <txTad.35642$Lo6.33296@fed1read03> (raw)

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



view thread (3+ messages)  latest in thread

Message-ID: <txTad.35642$Lo6.33296@fed1read03>
Permalink:  ../txTad.35642$Lo6.33296@fed1read03/
Also on:    postgresql.org/message-id/txTad.35642$Lo6.33296@fed1read03

 · 

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: <txTad.35642$Lo6.33296@fed1read03>
  References: <txTad.35642$Lo6.33296@fed1read03>

* 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