Re: building a binary-portable database
| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: building a binary-portable database |
| Дата | |
| Msg-id | 20090802162105.GC9474@svana.org обсуждение исходный текст |
| Ответ на | Re: building a binary-portable database (Alexy Khrabrov <deliverable@gmail.com>) |
| Ответы |
Re: building a binary-portable database
|
| Список | pgsql-general |
On Sun, Aug 02, 2009 at 12:02:41PM -0400, Alexy Khrabrov wrote: > How about portability between systems with the same endianness and > bitness, e.g. Intel 64-bit ones? Some parameters vary between compilers on the same platform. IIRC whether a long on a 64-bit platform is 64-bit depends on the compiler (windows platforms leave long as 32-bit). Alignment also differs between compilers which will translate to differnces on disk. Then you have things like time_t which depend on the C library you use. size_t depends on the memory model, or perhaps even on the compile flags. integer datetimes is a configure option. There's nothing to stop you trying, but there's been no effort in making it work. Have a nice day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Please line up in a tree and maintain the heap invariant while > boarding. Thank you for flying nlogn airlines.
Вложения
В списке pgsql-general по дате отправления: