Re: Dumb question about binary cursors and #ifdef HAVE_INT64_TIMESTAMP

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dann Corbit" <DCorbit(at)connx(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Dumb question about binary cursors and #ifdef HAVE_INT64_TIMESTAMP
Date: 2007-12-11 21:15:46
Message-ID: 6885.1197407746@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"Dann Corbit" <DCorbit(at)connx(dot)com> writes:
> If I create a binary cursor on a recent version of PostgreSQL, how can I
> tell if the timestamp data internally is an 8 byte double or an 8 byte
> integer?

PQparameterStatus(conn, "integer_datetimes")

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dann Corbit 2007-12-11 21:18:34 Re: Dumb question about binary cursors and #ifdefHAVE_INT64_TIMESTAMP
Previous Message Collin Kidder 2007-12-11 21:12:31 Re: top posting

Browse pgsql-hackers by date

  From Date Subject
Next Message Dann Corbit 2007-12-11 21:18:34 Re: Dumb question about binary cursors and #ifdefHAVE_INT64_TIMESTAMP
Previous Message Alvaro Herrera 2007-12-11 21:11:15 Re: Dumb question about binary cursors and #ifdef HAVE_INT64_TIMESTAMP