Re: what is the date format in binary query results

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: what is the date format in binary query results
Дата
Msg-id 24529.1194535138@sss.pgh.pa.us
обсуждение исходный текст
Ответ на what is the date format in binary query results  (Samantha Atkins <sjatkins@mac.com>)
Ответы Re: what is the date format in binary query results  (Reg Me Please <regmeplease@gmail.com>)
Re: what is the date format in binary query results  (Samantha Atkins <sjatkins@mac.com>)
Re: what is the date format in binary query results  (Samantha Atkins <sjatkins@mac.com>)
Список pgsql-general
Samantha Atkins <sjatkins@mac.com> writes:
> What can I expect for a date format from a PGresult containing binary
> results?  Specifically the Oid type is TIMESTAMPTZOID.

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.

            regards, tom lane

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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: why there is no interval / interval operator?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "Resurrected" data files - problem?