pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daryl Herzmann <akrherz@iastate.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: Maybe a Bug, maybe bad SQL
Date: Wed, 21 Mar 2001 00:26:53 -0500
Message-ID: <21510.985152413@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.21.0103191341560.13102-100000@iitappc1.iitap.iastate.edu>
References: <Pine.LNX.4.21.0103191341560.13102-100000@iitappc1.iitap.iastate.edu>

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



view thread (11+ messages)  latest in thread

Message-ID: <21510.985152413@sss.pgh.pa.us>
Permalink:  ../21510.985152413@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21510.985152413@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, akrherz@iastate.edu
  Subject: Re: Maybe a Bug, maybe bad SQL
  In-Reply-To: <21510.985152413@sss.pgh.pa.us>
  References: <Pine.LNX.4.21.0103191341560.13102-100000@iitappc1.iitap.iastate.edu> <21510.985152413@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox