Re: Maybe a Bug, maybe bad SQL - Mailing list pgsql-sql

From Tom Lane
Subject Re: Maybe a Bug, maybe bad SQL
Date
Msg-id 21510.985152413@sss.pgh.pa.us
Whole thread Raw
In response to Maybe a Bug, maybe bad SQL  (Daryl Herzmann <akrherz@iastate.edu>)
List pgsql-sql
Daryl Herzmann <akrherz@iastate.edu> writes:
> akrherz=# create table test (day date);
> CREATE
> akrherz=# insert into test values('2000_04_02');
> INSERT 13166281 1
> akrherz=# insert into test values('2000_04_01');
> INSERT 13166282 1
> akrherz=# insert into test values('2000_04_03');
> INSERT 13166283 1

Would that be a daylight-savings transition date in your timezone?
If so, this is a known date-to-timestamp conversion bug.  It's fixed
for 7.1.
        regards, tom lane


pgsql-sql by date:

Previous
From: Grant
Date:
Subject: Re: Maybe a Bug, maybe bad SQL
Next
From: "datactrl"
Date:
Subject: how do I find which ...