Обсуждение: Portability of pgsql database files.

Поиск
Список
Период
Сортировка

Portability of pgsql database files.

От
"David M. Lee"
Дата:
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
<><

Re: Portability of pgsql database files.

От
Bruce Momjian
Дата:
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

Re: Portability of pgsql database files.

От
Tom Lane
Дата:
"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