From: Jasen Betts <jasen@xnet.co.nz>
To: pgsql-sql@postgresql.org
Subject: Re: time interval math
Date: 11 Feb 2012 03:18:43 GMT
Message-ID: <jh4mmj$7pm$2@reversiblemaps.ath.cx> (raw)
References: <032001cce69c$767bc010$63734030$@com>
<jh0b4p$ruj$2@reversiblemaps.ath.cx>
<034901cce737$86614180$9323c480$@com>
On 2012-02-09, Edward W. Rouse <erouse@comsquared.com> wrote:
>> the operation abs() is meaninless on the type interval
>> eg: what is abs( '1 month - 32 days + 24 hours'::interval )
>
> If you need to add 30 intervals together, then +- is not meaningless.
if you stop reading after one line you miss the answer.
--
⚂⚃ 100% natural
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jasen@xnet.co.nz
Subject: Re: time interval math
In-Reply-To: <jh4mmj$7pm$2@reversiblemaps.ath.cx>
* 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