Jerome Wagner wrote:
> seeing you answer I have a question for which I found no answer a few weeks ago : is there a way to
> know at runtime which internal representation timestamps have ?
> I am trying to deal with the COPY binary protocol with only SQL access to the remote server and would
> like to find a way to know the internal representation to read / write the correct timestamps.
I guess you have to use the SPI interface to run the SQL statement
SHOW integer_datetimes;
and check if the result is 'on'.
Yours,
Laurenz Albe