Skip site navigation (1) Skip section navigation (2)

pg_migrator not setting values of sequences?

From: "Tilmann Singer" <tils(at)tils(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_migrator not setting values of sequences?
Date: 2009-07-13 22:01:12
Message-ID: 20090713220112.GF7933@klana.box (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackers
I tried the latest pg_migrator
(http://pgfoundry.org/frs/download.php/2291/pg_migrator-8.4.tgz) to
migrate a database from an 8.3.7 to an 8.4.0 cluster. It finished with
a success message, and the schema and all tables seem to have been
migrated correctly.

However, all of the sequences were at the initial values and not
bumped up to the last used value as I would have expected. The first
nextval call on any sequence in the migrated 8.4 database always
returned 1.

Is this behaviour intended for some reason, or a bug?


Til

Responses

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2009-07-13 22:02:54
Subject: Re: Mostly Harmless: c++reserved - patch 1 of 4
Previous:From: Peter EisentrautDate: 2009-07-13 21:55:33
Subject: Re: Mostly Harmless: c++configure - patch 3 of 4

pgsql-general by date

Next:From: Jamie FoxDate: 2009-07-13 22:21:39
Subject: Re: large object does not exist after pg_migrator
Previous:From: Michael GlaesemannDate: 2009-07-13 21:45:06
Subject: Re: Benetl, a free ETL tool for files using postgreSQL, is out in version 2.9

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group