pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #6290: converting interval from weeks to days
Date: Thu, 10 Nov 2011 17:35:25 -0800
Message-ID: <4EBC7BDD.3080609@hogranch.com> (raw)
In-Reply-To: <201111102115.pAALFOrw006489@wwwmaster.postgresql.org>
References: <201111102115.pAALFOrw006489@wwwmaster.postgresql.org>

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




view thread (3+ messages)  latest in thread

Message-ID: <4EBC7BDD.3080609@hogranch.com>
Permalink:  ../4EBC7BDD.3080609@hogranch.com/
Also on:    postgresql.org/message-id/4EBC7BDD.3080609@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: BUG #6290: converting interval from weeks to days
  In-Reply-To: <4EBC7BDD.3080609@hogranch.com>
  References: <201111102115.pAALFOrw006489@wwwmaster.postgresql.org> <4EBC7BDD.3080609@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox