Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 2EF0117D4426 for ; Thu, 10 Nov 2011 21:35:41 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 75674-03 for ; Fri, 11 Nov 2011 01:35:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id F360C17D4425 for ; Thu, 10 Nov 2011 21:35:31 -0400 (AST) Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id pAB1ZQ722228 for ; Thu, 10 Nov 2011 17:35:26 -0800 Message-ID: <4EBC7BDD.3080609@hogranch.com> Date: Thu, 10 Nov 2011 17:35:25 -0800 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #6290: converting interval from weeks to days References: <201111102115.pAALFOrw006489@wwwmaster.postgresql.org> In-Reply-To: <201111102115.pAALFOrw006489@wwwmaster.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-3.101 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-1.201 X-Spam-Level: X-Archive-Number: 201111/86 X-Sequence-Number: 31681 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