From: Werner Fraga <werner.fraga@computalog.com>
To: pgsql-sql@postgresql.org
Subject: datetime fields have '60' in seconds field
Date: Fri, 31 Dec 1999 12:06:57 -0700
Message-ID: <99123112191701.02807@shorty.edmonton.computalog.com> (raw)
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)
I am using Linux Mandrake 6.1, Postgres 6.5.1-7mdk, glibc 2.1.1-16mdk, kernel
2.2.13-7mdk
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: datetime fields have '60' in seconds field
In-Reply-To: <99123112191701.02807@shorty.edmonton.computalog.com>
References: <99123112191701.02807@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