From: Werner Fraga <werner.fraga@computalog.com>
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] datetime fields have '60' in seconds field
Date: Fri, 7 Jan 2000 12:19:02 -0700
Message-ID: <00010712214200.00778@shorty.edmonton.computalog.com> (raw)
In-Reply-To: <17223.947086342@sss.pgh.pa.us>
References: <99123115004704.02807@shorty.edmonton.computalog.com>
<17223.947086342@sss.pgh.pa.us>
> 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.
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: werner.fraga@computalog.com
Subject: Re: [SQL] datetime fields have '60' in seconds field
In-Reply-To: <00010712214200.00778@shorty.edmonton.computalog.com>
References: <99123115004704.02807@shorty.edmonton.computalog.com> <17223.947086342@sss.pgh.pa.us> <00010712214200.00778@shorty.edmonton.computalog.com>
* 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