Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1AE184764B2 for ; Thu, 29 Aug 2002 15:59:48 -0400 (EDT) Received: from ias.digitro.com.br (unknown [200.247.100.134]) by postgresql.org (Postfix) with ESMTP id CFDC347643D for ; Thu, 29 Aug 2002 15:59:46 -0400 (EDT) Received: from serverdgt.daf.digitro.com.br (serverdgt.daf.digitro.com.br [192.2.2.10]) by ias.digitro.com.br (8.11.6/8.11.1) with ESMTP id g7TJt2J10777 for ; Thu, 29 Aug 2002 16:55:02 -0300 Received: from dgtac ([192.168.160.152]) by serverdgt.daf.digitro.com.br (8.11.1/8.8.7) with SMTP id g7TJxot09935 for ; Thu, 29 Aug 2002 16:59:50 -0300 Message-ID: <0ad501c24f96$900a5480$98a0a8c0@dgtac> From: "Vilson farias" To: Subject: Some timestamp problems Date: Thu, 29 Aug 2002 16:59:18 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/379 X-Sequence-Number: 5493 Greetings, I found some strange behaviour in 7.1.2. Is it the same thing on 7.2.2 ? I don't know if it's a psql bug, but I would like to report it anyway bxs=# \d test2 Table "test2" Attribute | Type | Modifier ------------------+--------------------------+---------- x | integer | apagar_menor_que | timestamp with time zone | bxs=# insert into test2 values(1, '2111-10-01 04:23:59.999'); INSERT 259672 1 bxs=# insert into test2 values(2, '20001-10-01 04:23:50'); INSERT 259673 1 bxs=# insert into test2 values(3, '20001-10-01 04:23:59'); INSERT 259674 1 bxs=# insert into test2 values(4, '20001-10-01 04:23:59.99'); INSERT 259675 1 bxs=# insert into test2 values(5, '20001-10-01 04:23:59.999'); INSERT 259676 1 bxs=# insert into test2 values(6, '20001-10-01 04:23:59.998'); INSERT 259677 1 bxs=# 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) bxs=# Best regards from Brazil, ---------------------------------------------------------------------------- ---- José Vilson de Mello de Farias Software Engineer Dígitro Tecnologia Ltda - www.digitro.com.br APC - Customer Oriented Applications E-mail: vilson.farias@digitro.com.br Tel.: +55 48 281 7158 ICQ 11866179