From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Question about Postgresql time fields(possible bug) |
Date: | 2006-01-10 15:51:49 |
Message-ID: | 200601101551.k0AFpnK17299@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tony Caduto wrote:
> Hi,
> I just noticed today that Postgresql accepts a value of 24:00:00, this
> is for sure not correct as there is no such thing as 24:00:00
>
> PG Admin III will display this value just fine which is also incorrect,
> PG Lightning Admin catches it as a invalid time, but shouldn't there be
> some validation of times and dates at the server level?
>
> There are people who are using PG Admin III and they don't even know
> they have bogus dates and times in their databases.
A leap second will show as 24:00:00. It is a valid time.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2006-01-10 15:56:34 | Re: Question about Postgresql time fields(possible bug) |
Previous Message | Tony Caduto | 2006-01-10 15:38:11 | Question about Postgresql time fields(possible bug) |