Re: timestamps cannot be created without time zones

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <rmager(at)vgkk(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: timestamps cannot be created without time zones
Date: 2001-08-23 15:15:18
Message-ID: Pine.LNX.4.30.0108231712580.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> Rainer Mager (rmager(at)vgkk(dot)com) reports a bug with a severity of 2

> Creating a TABLE with a TIMESTAMP type seems to ignore the WITH TIME
> ZONE option. That is, with or without the option the TIMESTAMP still
> has a time zone.

We feel that the SQL timestamp definition as regards with/without time
zone is undesirable. Our timestamp type always stores the time in UTC and
prints it out according to the local time zone. The fact that the type
then comes out as 'timestamp with time zone' is disputed, but they are in
fact one and the same type.

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-08-23 18:41:04 Bug #423: unable to do selects on certain fields in large tables
Previous Message pgsql-bugs 2001-08-23 10:17:49 Bug #422: testing the subject and header changes