Re: timestamp with/without time zone

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: lockhart(at)fourpalms(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: timestamp with/without time zone
Date: 2001-07-10 21:34:51
Message-ID: 200107102134.f6ALYpM10631@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > I already commented what I thought about this: the current type is not
> > either of the SQL-compatible timestamp types, and if we want to support
> > the SQL-compatible semantics then we need three types, not two.
>
> Right, that was clear even to me ;)
>
> We were on that path for quite some time. I volunteered to move the
> datetime type to become timestamp since *no one* was interested in
> implementing timestamp properly. There was extensive (or at least
> complete) discussion at the time.
>
> Per Date and Darwen (and common sense) the SQL9x date/time time zone
> support is fundamentally flawed, and clearly leads to deep trouble in
> trying to operate a database across time zones or national boundaries.
> PostgreSQL had strongly influenced SQL standards in the past (e.g. data
> type extensibility) and imho our current implementation is the way the
> standard should have read.

I believe the issue here was how do we describe the TIMESTAMP data type,
as TIMESTAMP or TIMESTAMP WITH TIMEZONE. I thought people were
proposing the former. Thomas, did you express a preference?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2001-07-10 21:36:03 Re: Strange query execution time
Previous Message Vince Vielhaber 2001-07-10 21:33:56 Re: grant and SQL92