Re: BUG #15692: infinity loop - Mailing list pgsql-bugs

From Dean Rasheed
Subject Re: BUG #15692: infinity loop
Date
Msg-id CAEZATCX8UJ0Ed0Ob-RZ_mJgt3N_pNqQYWP3tK4T_744wjzwiNQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15692: infinity loop  (Sergei Kornilov <sk@zsrv.org>)
Responses Re: BUG #15692: infinity loop  (Alisher Aliev <allyanaliev@gmail.com>)
List pgsql-bugs
On Wed, 13 Mar 2019 at 11:04, Sergei Kornilov <sk@zsrv.org> wrote:
>
> > At last command PostgreSQL comming inside infinity loop.
>
> I have message "ERROR:  value overflows numeric format" very quickly for both 11.2 and HEAD versions.
>

Yeah, in any modern Postgres (9.6 or later) this calculation fails
with a numeric overflow in less than a millisecond for me. That's
consistent with the fact that numeric calculations were improved
somewhat in 9.6.

In older versions (9.0 - 9.5 inclusive), which includes 4 old
unsupported versions, it takes a little over a second to fail.
Certainly not an "infinity loop".

In really old versions (I tested 8.3 and 8.4) it does indeed appear to
go into an near-infinite loop, but frankly, anyone running 8.4 or
older has bigger problems.

Regards,
Dean


pgsql-bugs by date:

Previous
From: Ivan Viragine
Date:
Subject: Re: BUG #15689: Stemming of negation/not operator
Next
From: Alisher Aliev
Date:
Subject: Re: BUG #15692: infinity loop