TransactionStateData and AbsoluteTime - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject TransactionStateData and AbsoluteTime
Date
Msg-id 20000305105456Y.t-ishii@sra.co.jp
Whole thread Raw
Responses Re: [HACKERS] TransactionStateData and AbsoluteTime
List pgsql-hackers
Hi, I'm wondering why the transaction star time in
TransactionStateData is Absolutetime.  From nabstime.h:
* Although time_t generally is a long int on 64 bit systems, these two* types must be 4 bytes, because that's what the
systemassumes. They* should be yanked (long) before 2038 and be replaced by timestamp and* interval.*/
 
typedef int32 AbsoluteTime;
typedef int32 RelativeTime;

Shouldn't we use timestamp instead of AbsoluteTime in
TransactionStateData?  It also gives more precision.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: ACL enhancements (was Re: [HACKERS] Re: [PATCHES] NO-CREATE-TABLE and NO-LOCK-TABLE)
Next
From: Tatsuo Ishii
Date:
Subject: DROP TABLE inside a transaction block