Skip site navigation (1) Skip section navigation (2)

Bug #816: Bad time conversion from type abstime to datetime

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #816: Bad time conversion from type abstime to datetime
Date: 2002-11-13 09:44:59
Message-ID: 20021113094459.E5A4D475C8B@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Paul Mamin (magamos(at)mail(dot)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


Responses

pgsql-bugs by date

Next:From: Nick HowdenDate: 2002-11-13 10:31:27
Subject: Possible bug in query planner when using DISTINCT
Previous:From: Pavel StehuleDate: 2002-11-13 08:09:44
Subject: Re: PG_RETURN_TEXT_P crash server process (solved)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group