Re: how can i get the binary format of timestamp? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: how can i get the binary format of timestamp?
Date
Msg-id 12638.1145368062@sss.pgh.pa.us
Whole thread Raw
In response to how can i get the binary format of timestamp?  ("energumen@buaa.edu.cn" <energumen@buaa.edu.cn>)
List pgsql-hackers
"energumen@buaa.edu.cn" <energumen@buaa.edu.cn> writes:
> timestamp is defined as int64 or float8, when it is defined as int64, it looks like timeval, first 32 bits for
seconds,second32 bits for usec.
 

No, it's seconds times 1000000, not times 2^32.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Is full_page_writes=off safe in conjunction with
Next
From: Tom Lane
Date:
Subject: Re: Question on win32 semaphore simulation