Re: Timestamp format question - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Timestamp format question
Date
Msg-id 24021.1087587166@sss.pgh.pa.us
Whole thread Raw
In response to Timestamp format question  (Carlos Guzmán Álvarez <carlosga@telefonica.net>)
Responses Re: Timestamp format question  (Carlos Guzmán Álvarez <carlosga@telefonica.net>)
List pgsql-hackers
Carlos Guzmán Álvarez <carlosga@telefonica.net> writes:
> What is the supposed format that should be expected for time and
> timestamp values in binary format ??

Depends whether you built the server with --enable-integer-timestamps
or not.

> There are any way to retrieve the value encoded always in the same
> way ?

Sure: don't use binary I/O.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: pgsql-server: Tablespaces.
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Configuration patch