Re: Datafiles binary portable?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Datafiles binary portable?
Дата
Msg-id 456C5FED.1040604@archonet.com
обсуждение исходный текст
Ответ на Datafiles binary portable?  (Stephen Harris <lists@spuddy.org>)
Список pgsql-general
Stephen Harris wrote:
> This is probably a silly question, but are the database files binary portable?

No

> eg could I take datafiles from a Sparc and copy them to an Intel machine,
> or would the endianness differences kill me?

Yes

> How about cross OS (eg from Linux Intel to Windows XP, or from Solaris Intel
> to Linux Intel)?

Maybe. Wouldn't count on it though.

In fact the data files can be incompatible because of different
compile-time flags (64-bit integer dates on/off for example).
--
   Richard Huxton
   Archonet Ltd

В списке pgsql-general по дате отправления:

Предыдущее
От: "Andrus"
Дата:
Сообщение: Re: How to increace nightly backup speed
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: How to implement backup protocol