Re: Problem with timezones

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kay-Uwe Genz <kug1977(at)web(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Problem with timezones
Date: 2003-06-28 03:38:43
Message-ID: 15381.1056771523@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Kay-Uwe Genz <kug1977(at)web(dot)de> writes:
> Is this a bug or is this me mistake?

Yours I think. Type TIME WITH TIME ZONE stores a time of day
(from 00:00:00 to 23:59:59) plus a time zone (some offset east
or west of Greenwich --- I think we allow up to plus or minus
13 hours). I see nothing in the concept that would allow for
a negative local-time-of-day.

If you need a signed time-like datatype, maybe INTERVAL is closer
to what you're looking for.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alejandro Delu 2003-06-30 21:36:38 problems...
Previous Message Martijn van Oosterhout 2003-06-28 01:10:35 Re: [BUGS] Problem with duplicate file.