From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurens Wagemakers <l.wagemakers@truston.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: PG_DUMP / PG_RESTORE
Date: Tue, 25 May 2004 14:45:31 -0400
Message-ID: <26179.1085510731@sss.pgh.pa.us> (raw)
In-Reply-To: <DB1B4FC9815DD411A01D00B0D03D7907012F93D4@nlnt16.truston.com>
References: <DB1B4FC9815DD411A01D00B0D03D7907012F93D4@nlnt16.truston.com>
Laurens Wagemakers <l.wagemakers@truston.com> writes:
> Running postgresql 7.1.3 on Solaris 9:
> Restoring a database from a RH 7.3 Postgresql 7.1 version
You generally aren't going to be able to restore a dump into an older
version without some manual labor.
> CREATE SEQUENCE "live_autoincrement" start 1 increment 1 maxvalue
> 92233720368547
> 75807 minvalue 1 cache 1;
> ERROR: parser: parse error at or near "9223372036854775807"
In this particular case the issue is that 7.1 didn't have 64-bit
sequence values. (No, I don't think your RH database is 7.1 ...)
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, l.wagemakers@truston.com
Subject: Re: PG_DUMP / PG_RESTORE
In-Reply-To: <26179.1085510731@sss.pgh.pa.us>
* 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