Re: BUG #17128: minimum numeric 'integer' is -2147483647 not -2147483648 as documented - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #17128: minimum numeric 'integer' is -2147483647 not -2147483648 as documented
Date
Msg-id 1117180.1627672927@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #17128: minimum numeric 'integer' is -2147483647 not -2147483648 as documented  (John Naylor <john.naylor@enterprisedb.com>)
Responses Re: BUG #17128: minimum numeric 'integer' is -2147483647 not -2147483648 as documented  (John Naylor <john.naylor@enterprisedb.com>)
List pgsql-bugs
John Naylor <john.naylor@enterprisedb.com> writes:
> Here's a draft fix for master, with regression tests.

Passes an eyeball check, though I didn't run the test.

> It will need a bit of
> massaging for the back branches -- the problem goes back at least to 9.6.

I'm sure it's quite ancient ... ecpg hasn't changed much in a Long Time.

            regards, tom lane



pgsql-bugs by date:

Previous
From: John Naylor
Date:
Subject: Re: BUG #17128: minimum numeric 'integer' is -2147483647 not -2147483648 as documented
Next
From: John Naylor
Date:
Subject: Re: BUG #17128: minimum numeric 'integer' is -2147483647 not -2147483648 as documented