Re: Storage sizes for dates/times (documentation bug?)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Marc Munro <marc(at)bloodnok(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Storage sizes for dates/times (documentation bug?)
Date: 2008-04-15 01:39:57
Message-ID: 26487.1208223597@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Which means that storing date + timetz in two separate columns is not
> quite the same as storing a timestamptz. Oops.

Quite so. Our docs already point out that timetz is really a completely
brain-damaged concept, anyway.

There's been some talk of adding an explicit zone representation to
timestamptz, but so far I haven't been convinced that it's worth
doubling the storage requirement (which is what it would take,
considering alignment...). ISTM that we have defined timestamptz
in such a way that it solves many real-world problems, and timestamp
also solves real-world problems, but the use-case for a timestamp plus
an explicit time zone is much less clear.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Velevitch 2008-04-15 03:03:18 Re: how to get pg_restore to continue if an error occurs
Previous Message tosbalok@gmail.com 2008-04-15 01:38:54 Re: Unacceptable postgres performance vs. Microsoft sqlserver