Re: binary timestamp conversion

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: binary timestamp conversion
Дата
Msg-id 20090817164127.GF4782@alvh.no-ip.org
обсуждение исходный текст
Ответ на binary timestamp conversion  ("David De Maeyer" <david@adnuvo.com>)
Список pgsql-general
David De Maeyer wrote:

> I am now facing a puzzling challenge: converting binary timestamp
> data! If pgfsck did properly recover the timestamp data as a binary
> string, pgfsck will use a default timestamp, "1900-01-01 00:00:00",
> presumably because the date/time encoding varies from platform to
> platform.

There are two representations, one using 64 bit integers and the other
using floating point.  Which one is your installation using depends on
compile-time settings.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: ERROR: attempted to delete invisible tuple
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: ERROR: XLogFlush: request AF/5703EDC8 is not satisfied --- flushed only to AF/50F15ABC