Re: what is the date format in binary query results - Mailing list pgsql-general

From Tom Lane
Subject Re: what is the date format in binary query results
Date
Msg-id 25441.1194538162@sss.pgh.pa.us
Whole thread Raw
In response to Re: what is the date format in binary query results  (Reg Me Please <regmeplease@gmail.com>)
List 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 by date:

Previous
From: Alan Hodgson
Date:
Subject: Re: "Resurrected" data files - problem?
Next
From: Kevin Neufeld
Date:
Subject: Re: System V IPC on Windows