Re: sequences not restoring properly - Mailing list pgsql-general

From Doug McNaught
Subject Re: sequences not restoring properly
Date
Msg-id 87ek32pz5p.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to sequences not restoring properly  (Brian Dimeler <briand@lserve.com>)
Responses Re: sequences not restoring properly  (Brian Dimeler <briand@lserve.com>)
List pgsql-general
Brian Dimeler <briand@lserve.com> writes:

> I'm trying to transition a database from one server to another, the
> old one running Postgres 7.4.1 and the new, 8.1.1. When I try to
> restore using a pg_dump plaintext sql file from a nightly backup via
> the usual
>
> psql thedb < backup.sql

The best way to do this is to run the 8.1.1 pg_dump against the 7.4.1
server.  The new pg_dump will know better how to create a backup that
8.1.1 will like.

-Doug

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: What is the maximum length of an IN(a,b,c....d) list in PostgreSQL
Next
From: Brian Dimeler
Date:
Subject: Re: sequences not restoring properly