Re: forcing returned values to be binary

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: forcing returned values to be binary
Date: 2005-11-15 18:05:17
Message-ID: 16966.1132077917@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dave Cramer <pg(at)fastcrypt(dot)com> writes:
> One thing though if the date is 64 bit instead of float, what does
> the binary output look like? Are they different ?

Quite, it's int64 instead of double ...

> If so this would seem to complicate things quite a bit.

Recent PG versions tell you which representation is in use at connection
startup, see the integer_datetimes parameter.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-11-15 18:11:16 Re: compiling on windows with mingw
Previous Message Dave Cramer 2005-11-15 18:01:20 Re: forcing returned values to be binary