Re: [BUGS] Postgres storing time in strange manner - Mailing list pgsql-novice

From Rod Taylor
Subject Re: [BUGS] Postgres storing time in strange manner
Date
Msg-id 1032099066.19130.4.camel@jester
Whole thread Raw
In response to Postgres storing time in strange manner  (Casey Allen Shobe <cshobe@secureworks.net>)
List pgsql-novice
On Sun, 2002-09-15 at 03:57, Casey Allen Shobe wrote:
> I don't have a clue why it's doing this - has anyone else seen this sort of
> behavior, or know why it might be doing it?  It shows times wrong, for
> instance, it shows 00:04:60 where it should show 00:05:00.  See below:

There are actually 61 seconds in some minutes.  In order to accommodate
leap seconds, PostgreSQL allows this to happen -- similarly to how it
will also allow 366 days in some years.

--
  Rod Taylor


pgsql-novice by date:

Previous
From: "James F. Martin"
Date:
Subject: WAL file size too big
Next
From: Hubert depesz Lubaczewski
Date:
Subject: Re: pl/pgsql and returns timestamp type