Re: INTERVAL SECOND limited to 59 seconds? - Mailing list pgsql-general

From Tom Lane
Subject Re: INTERVAL SECOND limited to 59 seconds?
Date
Msg-id 17203.1244402910@sss.pgh.pa.us
Whole thread Raw
In response to Re: INTERVAL SECOND limited to 59 seconds?  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Responses Re: INTERVAL SECOND limited to 59 seconds?
List pgsql-general
Ron Mayer <rm_pg@cheapcomplexdevices.com> writes:
> Looks like the original questions from the thread
> got resolved, but I found this behaviour surprising:

> regression=# select interval '1' day to second;
>  interval
> ----------
>  @ 1 hour
> (1 row)

> Should this be 1 second?

That is a bit odd, especially seeing that eg. '1' hour to second
comes out as 1 second.  What's making it do that?

            regards, tom lane

pgsql-general by date:

Previous
From: Ron Mayer
Date:
Subject: Re: INTERVAL SECOND limited to 59 seconds?
Next
From: "Gauthier, Dave"
Date:
Subject: Server admin for Clients ?