From: renneyt@yahoo.com <renneyt@yahoo.com>
To: postgres <pgsql-admin@postgresql.org>
Subject: pg_dump/restore problem
Date: Mon, 12 Jun 2006 16:51:18 -0400
Message-ID: <448DD3C6.8050801@yahoo.com> (raw)
I am trying to move some data from an 8.0.7 instance to a 7.4.8
instance. I did a pg_dump and then did a pg_restore.
For the most part the data transferred through to the older instance but
I had problems with the sequence updates.
SELECT pg_catalog.setval(pg_catalog.pg_get_serial_sequence('nw_foo',
'foo_id'), 678, true);
ERROR: function pg_catalog.pg_get_serial_sequence("unknown", "unknown")
does not exist
HINT: No function matches the given name and argument types. You may
need to add explicit type casts.
I am looking for a an alternative to manually issuing alter sequence
commands.
Any help appreciated.
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: renneyt@yahoo.com
Subject: Re: pg_dump/restore problem
In-Reply-To: <448DD3C6.8050801@yahoo.com>
References: <448DD3C6.8050801@yahoo.com>
* 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