Re: BUG #6290: converting interval from weeks to days

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6290: converting interval from weeks to days
Date: 2011-11-11 01:35:25
Message-ID: 4EBC7BDD.3080609@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 11/10/11 1:15 PM, Alexey Nalbat wrote:
> => select '1000000000 weeks'::interval;
> interval
> ------------------
> -1589934592 days

a billion weeks is like 19 million years. somehow, I don't think that
postgresql's date math has quite that range.

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Young 2011-11-11 02:05:27 Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Previous Message Bruce Momjian 2011-11-11 00:42:41 Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"