Re: Date with time zone - Mailing list pgsql-general

From silly8888
Subject Re: Date with time zone
Date
Msg-id 3c8f9f940911281825o5d1502a5we97e06ae1ebc43e5@mail.gmail.com
Whole thread Raw
In response to Re: Date with time zone  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Date with time zone  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
Speaking of timestamps, I think it would be convenient to have a
single-word alias for "timestamp with time zone". This is the date
type I use almost exclusively and its name is annoyingly big.



On Sat, Nov 28, 2009 at 6:57 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Eduardo Piombino <drakorg@gmail.com> writes:
>> I see current criteria and all the SQL-standard compliance policy, but
>> wouldn't it still make sense to be able to store a date reference, along
>> with a time zone reference?
>> Wouldn't it be useful, wouldn't it be elegant?
>
> It seems pretty ill-defined to me, considering that many jurisdictions
> don't switch daylight savings time at local midnight.  How would you
> know which zone applied on a DST transition date?
>
>> On the other hand, I don't really see the reasons of this statement:
>> "Although the date type *cannot *have an associated time zone, the time type
>> can."
>> Why is this so?
>
> Because the SQL committee were smoking something strange that day.
> You won't find anybody around here who will defend the existence of
> TIME WITH TIME ZONE.  We only put it in for minimal spec compliance.
>
>                        regards, tom lane
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

pgsql-general by date:

Previous
From: Tomas Lanczos
Date:
Subject: Re: incorrect restore from pg_dumpall
Next
From: Scott Marlowe
Date:
Subject: Re: Date with time zone