Bug #816: Bad time conversion from type abstime to datetime - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #816: Bad time conversion from type abstime to datetime
Date
Msg-id 20021113094459.E5A4D475C8B@postgresql.org
Whole thread Raw
Responses Re: Bug #816: Bad time conversion from type abstime to datetime
List pgsql-bugs
Paul Mamin (magamos@mail.ru) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Bad time conversion from type abstime to datetime

Long Description
After making query (in psql):
select '2002-11-12 15:02:05'::abstime::datetime;
      timestamp
---------------------
 2002-11-12 05:02:05
(1 row)

... I got time with substraction of 12 hours.

Linux, PostgreSQL 7.2.1, 7.2.3

Sample Code



No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: PG_RETURN_TEXT_P crash server process (solved)
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #817: Valid timezone +1300 rejected