Re: what is the date format in binary query results

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: what is the date format in binary query results
Дата
Msg-id 25441.1194538162@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: what is the date format in binary query results  (Reg Me Please <regmeplease@gmail.com>)
Список pgsql-general
Reg Me Please <regmeplease@gmail.com> writes:
> Il Thursday 08 November 2007 16:18:58 Tom Lane ha scritto:
>> It's either an int8 representing microseconds away from 2000-01-01
>> 00:00:00 UTC, or a float8 representing seconds away from the same
>> origin.

> Does this mean that negative numbers are for timestamps before y2k?

Right.

> Why and when there is a choice between int8 and float8 representation?

configure --enable-integer-datetimes.

            regards, tom lane

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

Предыдущее
От: Alan Hodgson
Дата:
Сообщение: Re: "Resurrected" data files - problem?
Следующее
От: Kevin Neufeld
Дата:
Сообщение: Re: System V IPC on Windows