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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq -- reading a timestamp with time zone using binary format
Дата
Msg-id 4693.1237850133@sss.pgh.pa.us
обсуждение исходный текст
Ответ на libpq -- reading a timestamp with time zone using binary format  (Whit Armstrong <armstrong.whit@gmail.com>)
Ответы Re: libpq -- reading a timestamp with time zone using binary format  (Whit Armstrong <armstrong.whit@gmail.com>)
Список pgsql-general
Whit Armstrong <armstrong.whit@gmail.com> 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: unexpected check constraint violation
Следующее
От: Whit Armstrong
Дата:
Сообщение: Re: libpq -- reading a timestamp with time zone using binary format