Re: Maybe a Bug, maybe bad SQL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Daryl Herzmann <akrherz(at)iastate(dot)edu>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Maybe a Bug, maybe bad SQL
Date: 2001-03-21 05:26:53
Message-ID: 21510.985152413@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Daryl Herzmann <akrherz(at)iastate(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Grant 2001-03-21 05:27:36 Re: Maybe a Bug, maybe bad SQL
Previous Message Bruce Momjian 2001-03-21 04:40:31 Re: Maybe a Bug, maybe bad SQL