"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