Re: Database file compatability

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Database file compatability
Date: 2005-09-26 23:05:28
Message-ID: 5112.1127775928@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu> writes:
> ""Jim C. Nasby"" <jnasby(at)pervasive(dot)com> wrote
>> If a database is created with a 64 bit version of initdb, would a 32bit
>> backend be able to talk to it? Likewise, would a backend compiled by a
>> different compiler be able to?

> The key problem I believe is the serials of ALIGNOF macros. Especially for
> MAX_ALIGNOF. Different Hardware/OS/compiler will have different
> understanding of it.

Yeah. It might be worth adding MAX_ALIGNOF to the set of configuration
data stored in pg_control, just to be sure you couldn't shoot yourself
in the foot that way.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-09-26 23:16:00 Re: State of support for back PG branches
Previous Message Tom Lane 2005-09-26 22:58:16 Re: Gerbil build farm failure