Re: what is the date format in binary query results

From: Reg Me Please <regmeplease(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org, Samantha Atkins <sjatkins(at)mac(dot)com>
Subject: Re: what is the date format in binary query results
Date: 2007-11-08 16:17:43
Message-ID: 200711081717.43993.regmeplease@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Il Thursday 08 November 2007 17:09:22 Tom Lane ha scritto:
> Reg Me Please <regmeplease(at)gmail(dot)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.

Wow: it's at compile time!

How can I tell which one has been choosen by my distribution (Ubuntu)?

--
Reg me Please

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2007-11-08 16:24:31 Re: "Resurrected" data files - problem?
Previous Message Kevin Neufeld 2007-11-08 16:12:48 Re: System V IPC on Windows