Re: BUG #15445: Difference between two dates is not an integer

From: Martin Varady <martin(dot)varady(at)gmail(dot)com>
To: asotolongo(at)gmail(dot)com
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, sk(at)zsrv(dot)org, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15445: Difference between two dates is not an integer
Date: 2018-10-19 15:52:59
Message-ID: CAE6fTZ9fNYv7p2SL=mJ=S9WXC5A+XmD3He6J4A8GQDr3SNm-Nw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

That was it, thank you so much. I'll check out what the impact of that is
during the migration process. Worse case I set it after the fact.

Thank You,
Martin

On Fri, Oct 19, 2018 at 11:03 AM Anthony Sotolongo <asotolongo(at)gmail(dot)com>
wrote:

> Hi Martin if you are using EDB Postgres this operation require set
> edb_redwood_date = false
>
> And then the operator - with date Will be like PostgreSQL native
>
>
> Regards
>
>
> El vie., 19 de oct. de 2018 11:56 a.m., Martin Varady <
> martin(dot)varady(at)gmail(dot)com> escribió:
>
>> Not sure how to close my logged bug. But its safe to say its not a
>> defect. Thank You for your help.
>>
>> On Fri, Oct 19, 2018 at 10:26 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>
>>> Martin Varady <martin(dot)varady(at)gmail(dot)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
>>>
>>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-10-19 17:36:31 Re: NOTIFY does not work as expected
Previous Message Anthony Sotolongo 2018-10-19 15:02:58 Re: BUG #15445: Difference between two dates is not an integer