Re: Timezones (in 8.5?) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Timezones (in 8.5?)
Date
Msg-id 200911290140.nAT1ehK07981@momjian.us
Whole thread Raw
In response to Re: Timezones (in 8.5?)  (hernan gonzalez <hgonzalez@gmail.com>)
Responses Re: Timezones (in 8.5?)
Re: Timezones (in 8.5?)
List pgsql-hackers
hernan gonzalez wrote:
> >  hernan>  The support of timezones is really crippled
> > ?hernan> now.
> >
> > Crippled how?
> 
> Well, among other things, no builtin date-timetype allows me to save
> the timezone (or even the offset).
> No type allows to treat this three datetimes as different values.
> '2010-07-27 10:30 GMT+4' '2010-07-27 09:30 GMT+5' '2010-07-27 10:30 GMT+0'
> The ANSI spec at least permits that.

I think there is general agreement that we should have a timezone data
type which validates against pg_timezone_names().name.  It might be
enough to just document how users can create such a domain data type,
but I don't know of a way to do that.  Is this a TODO?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Application name patch - v4
Next
From: Philip Warner
Date:
Subject: Re: 8.5 TODO: Add comments to output indicating version of pg_dump and of the database server