Interval+tz-tz gives unexpected result

From: "Henshall, Stuart - Design & Print" <SHenshall(at)westcountry-design-print(dot)co(dot)uk>
To: "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org>
Subject: Interval+tz-tz gives unexpected result
Date: 2002-11-11 14:26:34
Message-ID: E382B5D8EDE1D6118DBE0008C759BCD6116AAA@WCPEXCHANGE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

dev=# select '0 sec'::interval+'2002/10/21 09:48'::timestamptz-'2002/10/21
09:30'::timestamptz;
?column?
----------
-09:30
(1 row)

I would have expected '00:18'

dev=# select version();
version
--------------------------------------------------------------
PostgreSQL 7.2.3 on i686-pc-cygwin, compiled by GCC 2.95.3-5
(1 row)

Thank you,
- Stuart

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-11-11 17:09:52 Re: Interval+tz-tz gives unexpected result
Previous Message pgsql-bugs 2002-11-11 10:44:15 Bug #813: postmaster not running