From: Arturas Mazeika <mazeika@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Dave Page <dpage@pgadmin.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5735: pg_upgrade thinks that it did not start the old server
Date: Wed, 10 Nov 2010 07:37:16 +0100
Message-ID: <4CDA3D9C.2060603@gmail.com> (raw)
In-Reply-To: <25095.1289363527@sss.pgh.pa.us>
References: <201011100423.oAA4NoU05045@momjian.us>
<25095.1289363527@sss.pgh.pa.us>
On 11/10/2010 05:32 AM, Tom Lane wrote:
> Bruce Momjian<bruce@momjian.us> writes:
>
>>> On 10/30/2010 7:33 PM, Dave Page wrote:
>>>
>>>> upgrade from a 32bit 8.3 server to a 64 bit 9.0 server, which isn't
>>>> going to work without a dump/restore. With pg_upgrade, the two builds
>>>> need to be from the same platform, same word size, and have the same
>>>> configuration for certain settings like integer_datetimes.
>>>>
>> Can anyone suggest a way pg_upgrade could detect an upgrade from a
>> 32-bit to 64-bit cpu and throw an error?
>>
> Surely it does that already, as a result of comparing pg_control
> contents.
>
The HTML manual might need an update or a small clarification too.
Currently, it does not seem that the manual explicitly states that
``pg_upgrade is not applicable in upgrading 32bit systems to 64bit
ones''. A good place to write such a sentence would be at the beginning
of [1], at the intro of F.32. pg_upgrade. Maybe the documentation
already implicitly states that in F.32.4. Limitations in Migrating from
PostgreSQL 8.3 section of [1] by this description:
``For Windows users, note that due to different integer datetimes
settings used by the one-click installer and the MSI installer, it is
only possible to upgrade from version 8.3 of the one-click distribution
to version 8.4 or later of the one-click distribution. It is not
possible to upgrade from the MSI installer to the one-click installer.''
Unfortunately, I could not understand in full detail the above.
Thanks,
arturas
[1] http://www.postgresql.org/docs/9.0/static/pgupgrade.html
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-bugs@postgresql.org
Cc: mazeika@gmail.com, tgl@sss.pgh.pa.us, bruce@momjian.us, dpage@pgadmin.org
Subject: Re: BUG #5735: pg_upgrade thinks that it did not start the old server
In-Reply-To: <4CDA3D9C.2060603@gmail.com>
References: <201011100423.oAA4NoU05045@momjian.us> <25095.1289363527@sss.pgh.pa.us> <4CDA3D9C.2060603@gmail.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