From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: c_michal@poczta.onet.pl
Subject: BUG #15545: wrong calculation
Date: Tue, 11 Dec 2018 12:46:49 +0000
Message-ID: <15545-96bc1bb99d03b6af@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 15545
Logged by: Michal C
Email address: c_michal@poczta.onet.pl
PostgreSQL version: 10.5
Operating system: Windows
Description:
select extract (epoch from age ('2018-01-31'::date,'2013-01-01'::date) ) /
86400,'2018-01-31'::date-'2013-01-01'::date
first column is wrong calculation
Result:
"column1";"column2"
1856.25;1856
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: noreply@postgresql.org, c_michal@poczta.onet.pl
Subject: Re: BUG #15545: wrong calculation
In-Reply-To: <15545-96bc1bb99d03b6af@postgresql.org>
References: <15545-96bc1bb99d03b6af@postgresql.org>
* 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