Why is time with timezone 12 bytes? - Mailing list pgsql-hackers

From Josh Berkus
Subject Why is time with timezone 12 bytes?
Date
Msg-id 4C9A6EBB.7050307@agliodbs.com
Whole thread Raw
Responses Re: Why is time with timezone 12 bytes?  (Thom Brown <thom@linux.com>)
Re: Why is time with timezone 12 bytes?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
All,

I was just checking on our year-2027 compliance, and happened to notice
that time with time zone takes up 12 bytes.  This seems peculiar, given
that timestamp with time zone is only 8 bytes, and at my count we only
need 5 for the time with microsecond precision.  What's up with that?

Also, what is the real range of our 8-byte *integer* timestamp?

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Another Modest Proposal: Platforms
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Another Modest Proposal: Platforms