Re: timetz storage vs timestamptz

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: timetz storage vs timestamptz
Date: 2006-10-03 22:32:39
Message-ID: 25163.1159914759@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Jim C. Nasby" <jim(at)nasby(dot)net> writes:
> Why is it timestamptz can store a date and time to 1 microsecond in 8
> bytes but a timetz needs 12 to store just the time to 1 microsecond?

It's tracking the timezone explicitly ... something that timestamptz
really ought to do too.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeremy Drake 2006-10-03 22:46:03 buildfarm failures in ECPG-Check
Previous Message Luke Lonergan 2006-10-03 22:32:14 Re: PG qsort vs. Solaris