BUG #2046: defective date_trunc

From: "Chris" <termi(at)wp(dot)pl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2046: defective date_trunc
Date: 2005-11-15 12:59:48
Message-ID: 20051115125948.86378F0C9D@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2046
Logged by: Chris
Email address: termi(at)wp(dot)pl
PostgreSQL version: 8.0
Operating system: Windows
Description: defective date_trunc
Details:

Postgresql 8.0

select date_trunc('week',TO_DATE('2005-01-01','yyyy-mm-dd'))

result

"2006-01-02 00:00:00+01"

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephan Fischer 2005-11-15 16:21:26 [postgres] pgcluster
Previous Message Akio Iwaasa 2005-11-15 11:56:36 BUG #2045: test_fsync "-f" option