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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
Cc: kjs(at)teews(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17128: minimum numeric 'integer' is -2147483647 not -2147483648 as documented
Date: 2021-07-30 19:22:07
Message-ID: 1117180.1627672927@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

John Naylor <john(dot)naylor(at)enterprisedb(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John Naylor 2021-07-30 20:44:48 Re: BUG #17128: minimum numeric 'integer' is -2147483647 not -2147483648 as documented
Previous Message Noah Misch 2021-07-30 18:41:26 Re: CREATE INDEX CONCURRENTLY does not index prepared xact's data