From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin Varady <martin.varady@gmail.com>
Cc: sk@zsrv.org
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15445: Difference between two dates is not an integer
Date: Fri, 19 Oct 2018 10:26:08 -0400
Message-ID: <32675.1539959168@sss.pgh.pa.us> (raw)
In-Reply-To: <CAE6fTZ9W78nviXXJ4A_Qvi46ecjtsbVQgnLKTX7QTgSPhgxXjQ@mail.gmail.com>
References: <15445-f8f5a4e67e9eb3d4@postgresql.org>
<21769501539955587@iva5-d3020dc3459d.qloud-c.yandex.net>
<CAE6fTZ9W78nviXXJ4A_Qvi46ecjtsbVQgnLKTX7QTgSPhgxXjQ@mail.gmail.com>
Martin Varady <martin.varady@gmail.com> writes:
> I got what you would expect but still doesn't work. It is the enterpriseDB
> version we bought for Oracle to Postgres conversions.
> "EnterpriseDB 10.4.9, compiled by Visual C++ build 1800, 64-bit"
Well, you should have a word with EDB then, but what it sounds like
is they install a nondefault date - date operator, or possibly remove
PG's standard one so that timestamp - timestamp gets chosen instead.
Which is probably reasonable if your goal is compatibility with
Oracle.
regards, tom lane
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: tgl@sss.pgh.pa.us, martin.varady@gmail.com, sk@zsrv.org
Subject: Re: BUG #15445: Difference between two dates is not an integer
In-Reply-To: <32675.1539959168@sss.pgh.pa.us>
References: <15445-f8f5a4e67e9eb3d4@postgresql.org> <21769501539955587@iva5-d3020dc3459d.qloud-c.yandex.net> <CAE6fTZ9W78nviXXJ4A_Qvi46ecjtsbVQgnLKTX7QTgSPhgxXjQ@mail.gmail.com> <32675.1539959168@sss.pgh.pa.us>
* 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