From: o.bousche@krohne.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6424: Possible error in time to seconds conversion
Date: Wed, 01 Feb 2012 14:15:02 +0000
Message-ID: <E1Rsaxi-0008Aq-V3@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6424
Logged by: Olaf
Email address: o.bousche@krohne.com
PostgreSQL version: 9.1.2
Operating system: Windows 7 - 64bits
Description:
Should the query
select
extract(epoch
from cast('2012-01-01 14:30:1' as
timestamp) -
cast('1970-01-01 0:0:0' as
timestamp))) -
extract(epoch
from (cast('2012-01-01 14:30:1' as
timestamp)))
return 0 instead of 3600?
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: o.bousche@krohne.com
Subject: Re: BUG #6424: Possible error in time to seconds conversion
In-Reply-To: <E1Rsaxi-0008Aq-V3@wrigleys.postgresql.org>
References: <E1Rsaxi-0008Aq-V3@wrigleys.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