Portability of pgsql database files.

Started by David M. Leealmost 21 years ago3 messagesgeneral
Jump to latest
#1David M. Lee
dmlee@Crossroads.com

I have a system that is dual bootable for both i686 and x86_64. Would
there be any issues using the PostgreSQL database files generated for
i686 on x86_64, or vice versa?

Thanks!
dave
<><

#2Bruce Momjian
bruce@momjian.us
In reply to: David M. Lee (#1)
Re: Portability of pgsql database files.

David M. Lee wrote:

I have a system that is dual bootable for both i686 and x86_64. Would
there be any issues using the PostgreSQL database files generated for
i686 on x86_64, or vice versa?

Uh, if the padding is the same, it would work, but we never test such
things.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: David M. Lee (#1)
Re: Portability of pgsql database files.

"David M. Lee" <dmlee@Crossroads.com> writes:

I have a system that is dual bootable for both i686 and x86_64. Would
there be any issues using the PostgreSQL database files generated for
i686 on x86_64, or vice versa?

You'd probably have problems with the different data alignment rules for
the two architectures (I'm supposing MAXALIGN is different, though
perhaps it is not?).

regards, tom lane