Search Postgresql Archives

Re: libpq -- reading a timestamp with time zone using binary format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Tom.

That's just what I needed.

-Whit


On Mon, Mar 23, 2009 at 7:15 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
> Whit Armstrong <armstrong.whit@xxxxxxxxx> writes:
>> but it is still unclear (at least to me) how to determine as the
>> client whether the server has been compiled with the
>> HAVE_INT64_TIMESTAMP flag.
>
> You look at the integer_datetimes parameter.  You could execute a
> SQL "SHOW" command, but in a libpq client it's sufficient to use
> PQparameterStatus(), because this value is sent automatically
> during connection startup.
>
>                        regards, tom lane
>

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux