Whit Armstrong <armstrong(dot)whit(at)gmail(dot)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