Skip site navigation (1) Skip section navigation (2)

Re: timestamps cannot be created without time zones

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Rainer Mager <rmager(at)vgkk(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: timestamps cannot be created without time zones
Date: 2001-08-24 08:50:53
Message-ID: Pine.LNX.4.30.0108241049260.677-100000@peter.localdomain (view raw or flat)
Thread:
Lists: pgsql-bugs
Tom Lane writes:

> Timezone handling in PG is dependent on the underlying OS' timezone
> database, which doesn't go back further than 1901 in any Unix that
> I've heard of.  You should realize of course that the very notion of
> timezone was only standardized in the 1800s, so attaching a timezone
> to dates much older than that would be a dubious practice anyway...

Thus Rainer's point is that when having times both before and after 1901
in the same data set you get inconsistencies.  This seems like a good
reason to introduce a true 'timestamp without time zone' type.

-- 
Peter Eisentraut   peter_e(at)gmx(dot)net   http://funkturm.homeip.net/~peter


In response to

Responses

pgsql-bugs by date

Next:From: pgsql-bugsDate: 2001-08-24 09:19:12
Subject: Bug #426:
Previous:From: Tom LaneDate: 2001-08-24 04:20:06
Subject: Re: timestamps cannot be created without time zones

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group