Re: PostgreSQL 32 bit DB on 64 bit machine

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Dann Corbit <DCorbit(at)connx(dot)com>
Cc: "'jd(at)commandprompt(dot)com'" <jd(at)commandprompt(dot)com>, "Martin, Brian D(dot) (JSC-OD)[UNITED SPACE ALLIANCE LLC]" <brian(dot)d(dot)martin(at)nasa(dot)gov>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PostgreSQL 32 bit DB on 64 bit machine
Date: 2010-10-27 00:53:11
Message-ID: 4CC777F7.1020104@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 27/10/10 08:34, Dann Corbit wrote:
>> -----Original Message-----
>> From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-
>> owner(at)postgresql(dot)org] On Behalf Of Joshua D. Drake
>> Sent: Tuesday, October 26, 2010 5:18 PM
>> To: Martin, Brian D. (JSC-OD)[UNITED SPACE ALLIANCE LLC]
>> Cc: pgsql-general(at)postgresql(dot)org
>> Subject: Re: [GENERAL] PostgreSQL 32 bit DB on 64 bit machine
>>
>> On Tue, 2010-10-26 at 18:53 -0500, Martin, Brian D. (JSC-OD)[UNITED
>> SPACE ALLIANCE LLC] wrote:
>>> Can a 32 bit PostgreSQL v. 9.0 db be copied from a 32 bit machine and
>> overwrite the db on a 64 bit PostgreSQL machine? I'm trying to get a
>> good initial starting point before performing hot standy write ahead
>> logging (WAL) replication between a 32 bit and 64 bit machine. When I
>> copy the 32 bit db to the 64 bit db, the PostgreSQL logs are saying the
>> pg_control file has a checksum mis-match. When I backup and restore
>> the 64 bit pg_control then the log files report a sys id mismatch.
>>>
>>
>> You must run the same architecture.... 32-32 or 64-64

It's also possible to run 32-bit PostgreSQL binaries on a 64-bit
machine. In that case, a 32-bit data directory may be used.

> I think he can get what he wants by doing a SQL dump instead of an ordinary dump.

I tend to agree. Running a 32-bit DB on the 64-bit host won't tell them
anything much for this case.

--
Craig Ringer

Tech-related writing: http://soapyfrogs.blogspot.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-10-27 00:54:13 Re: Advice needed on application/database authentication/authorization/auditing model
Previous Message Dann Corbit 2010-10-27 00:34:16 Re: PostgreSQL 32 bit DB on 64 bit machine