Re: Problem with ControlFileData structure being ABI dependent

Поиск
Список
Период
Сортировка
От Rainer Bauer
Тема Re: Problem with ControlFileData structure being ABI dependent
Дата
Msg-id 1tsgl3lc48c9mujtc4n5tde1ln2s3a3qhl@4ax.com
обсуждение исходный текст
Ответ на Problem with ControlFileData structure being ABI dependent  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Problem with ControlFileData structure being ABI dependent  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark wrote:

>This is because of (at least) two changes in the ABI between the runtimes used
>by mingw and VC++.
> 1) Enums are apparently 8 bytes on VC++ but 4 bytes on mingw

They are 4 bytes here on my 32 bit WinXP machine with VS2005SP1.

> 2) time_t is 8 bytes on VC++ but 4 bytes on mingw.

Not sure whether an 8 byte time_t is now required by postgres. But you can get
the old behaviour by defining _USE_32BIT_TIME_T.

Rainer


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: "distributed checkpoint"
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Problem with ControlFileData structure being ABI dependent