Received: from computalog.com ([209.82.103.230]) by hub.org (8.9.3/8.9.3) with ESMTP id OAA17565 for ; Fri, 7 Jan 2000 14:17:28 -0500 (EST) (envelope-from werner.fraga@computalog.com) Received: from tserver.edmonton.computalog.com (mug.computalog.com [209.82.103.229]) by computalog.com (8.8.7/8.8.7) with ESMTP id MAA10742 for ; Fri, 7 Jan 2000 12:30:10 -0700 Received: from shorty.edmonton.computalog.com (wfraga@shorty [10.89.4.26]) by tserver.edmonton.computalog.com (8.8.7/8.8.7) with SMTP id MAA28178 for ; Fri, 7 Jan 2000 12:17:44 -0700 From: Werner Fraga Reply-To: werner.fraga@computalog.com Organization: Computalog Ltd. To: pgsql-sql@postgreSQL.org Subject: Re: [SQL] datetime fields have '60' in seconds field Date: Fri, 7 Jan 2000 12:19:02 -0700 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <99123115004704.02807@shorty.edmonton.computalog.com> <17223.947086342@sss.pgh.pa.us> In-Reply-To: <17223.947086342@sss.pgh.pa.us> MIME-Version: 1.0 Message-Id: <00010712214200.00778@shorty.edmonton.computalog.com> Content-Transfer-Encoding: 8bit > When a DATETIME field is modified and the seconds are set to zero, the field > always shows 60 seconds instead: > > testdb=> create table datetab (dt datetime); > CREATE > testdb=> insert into datetab (dt) values ('1999-12-31 12:05:00'); > INSERT 27361 1 > testdb=> select * from datetab; > dt > -------------------------- > 31/12/1999 12:05:60.00 MST > (1 row) Upgrade to Postgres 6.5.3 (redhat) from 6.5.1 (mandrake) fixed the problem. Thanks.