Re: Database file compatability - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Database file compatability
Date
Msg-id 5112.1127775928@sss.pgh.pa.us
Whole thread Raw
In response to Re: Database file compatability  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Responses Re: Database file compatability
List pgsql-hackers
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> ""Jim C. Nasby"" <jnasby@pervasive.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


pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Gerbil build farm failure
Next
From: Andrew Dunstan
Date:
Subject: Re: State of support for back PG branches