Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4A735476171 for ; Thu, 29 Aug 2002 16:13:31 -0400 (EDT) Received: from beamish.nsd.ca (unknown [205.150.156.194]) by postgresql.org (Postfix) with ESMTP id 8AFB5475F86 for ; Thu, 29 Aug 2002 16:13:30 -0400 (EDT) Received: (from smap@localhost) by beamish.nsd.ca (8.9.3/8.9.3) id QAA05592; Thu, 29 Aug 2002 16:13:28 -0400 X-Authentication-Warning: beamish.nsd.ca: smap set sender to using -f Received: from reddog.nsd.ca(192.168.101.30) by beamish.nsd.ca via smap (V2.1/2.1+anti-relay+anti-spam) id xma005590; Thu, 29 Aug 02 16:13:17 -0400 Received: from nsd.ca (jllachan-linux.nsd.ca [192.168.101.148]) by reddog.nsd.ca (8.8.7/8.8.7) with ESMTP id QAA20282; Thu, 29 Aug 2002 16:13:16 -0400 Message-ID: <3D6E8139.86F67328@nsd.ca> Date: Thu, 29 Aug 2002 16:16:57 -0400 From: Jean-Luc Lachance X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.9-31 i686) X-Accept-Language: en MIME-Version: 1.0 To: Vilson farias Cc: pgsql-admin@postgresql.org Subject: Re: Some timestamp problems References: <0ad501c24f96$900a5480$98a0a8c0@dgtac> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by reddog.nsd.ca id QAA20282 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/381 X-Sequence-Number: 5495 I think there is plenty of time to address the Y10K problem... :) JLL Vilson farias wrote: >=20 > Greetings, >=20 > I found some strange behaviour in 7.1.2. Is it the same thing on 7.2.2 ? >=20 > I don't know if it's a psql bug, but I would like to report it anyway >=20 > bxs=3D# \d test2 > Table "test2" > Attribute | Type | Modifier > ------------------+--------------------------+---------- > x | integer | > apagar_menor_que | timestamp with time zone | >=20 > bxs=3D# insert into test2 values(1, '2111-10-01 04:23:59.999'); > INSERT 259672 1 > bxs=3D# insert into test2 values(2, '20001-10-01 04:23:50'); > INSERT 259673 1 > bxs=3D# insert into test2 values(3, '20001-10-01 04:23:59'); > INSERT 259674 1 > bxs=3D# insert into test2 values(4, '20001-10-01 04:23:59.99'); > INSERT 259675 1 > bxs=3D# insert into test2 values(5, '20001-10-01 04:23:59.999'); > INSERT 259676 1 > bxs=3D# insert into test2 values(6, '20001-10-01 04:23:59.998'); > INSERT 259677 1 > bxs=3D# SELECT * FROM test2; > x | apagar_menor_que > ---+------------------------ > 1 | 2111-10-01 04:23:60.00 > 2 | 20001-10-01 04:2350 > 3 | 20001-10-01 04:2359 > 4 | 20001-10-01 04:2359.99 > 5 | 20001-10-01 04:2360.00 > 6 | 20001-10-01 04:2360.00 > (6 rows) >=20 > bxs=3D# >=20 > Best regards from Brazil, >=20 > -------------------------------------------------------------------------= --- > ---- > Jos=E9 Vilson de Mello de Farias > Software Engineer >=20 > D=EDgitro Tecnologia Ltda - www.digitro.com.br > APC - Customer Oriented Applications > E-mail: vilson.farias@digitro.com.br > Tel.: +55 48 281 7158 > ICQ 11866179 >=20 > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly