From: | Craig Ringer <craig(at)postnewspapers(dot)com(dot)au> |
---|---|
To: | jd(at)commandprompt(dot)com |
Cc: | Geoffrey Myers <lists(at)serioustechnology(dot)com>, PostgreSQL List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: pitr question |
Date: | 2010-10-14 03:34:53 |
Message-ID: | 4CB67A5D.6090300@postnewspapers.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 14/10/10 00:18, Joshua D. Drake wrote:
> On Wed, 2010-10-13 at 11:40 -0400, Geoffrey Myers wrote:
>> On 10/13/2010 11:30 AM, zhong ming wu wrote:
>>> On Wed, Oct 13, 2010 at 11:17 AM, Geoffrey Myers
>>> <lists(at)serioustechnology(dot)com <mailto:lists(at)serioustechnology(dot)com>> wrote:
>>> > Excuse the ignorance, but I see the following in the docs:
>>> >
>>> > 'In any case the hardware architecture must be the same — shipping from,
>>> > say, a 32-bit to a 64-bit system will not work.'
>>>
>>> postgres only sees the OS. It does not care what hardware you got. So
>>> you must use the same type of OS: both 32 bit or both 64 bit.
>>
>> As I expected, thus the document should possibly be rephrased to
>> indicate it's the OS not the physical hardware that is the issue.
>
> No. Because PostgreSQL itself must also be the same architecture.
No it doesn't. As Tom Lane pointed out, plenty plenty of 64-bit OSes on
64-bit hardware will run 32-bit binaries. Additionally, most 64-bit
hardware will run 32-bit OSes with 32-bit binaries.
So long as Pg has the same word sizes, endianness, etc, it won't care.
This means that you can't log-ship from 32-bit Intel to 32-bit
big-endian PPC and expect it to work, but you can log-ship from 32-bit
Pg running on 64-bit Intel to 32-bit Pg running on 32-bit Intel and
that'll be fine.
--
Craig Ringer
Tech-related writing: http://soapyfrogs.blogspot.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2010-10-14 03:41:55 | Re: Copying data files to new hardware? |
Previous Message | Joshua Berry | 2010-10-14 02:41:38 | Re: How to search ignoring spaces and minus signs |