Re: [Bug Fix]ECPG: cancellation of significant digits on ECPG
Dmitry Dolgov <9erthalion6@gmail.com>
From: Dmitry Dolgov <9erthalion6@gmail.com>
To: higuchi.daisuke@jp.fujitsu.com
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-11-05T21:51:39Z
Lists: pgsql-hackers
> On Thu, 17 May 2018 at 06:10, Higuchi, Daisuke <higuchi.daisuke@jp.fujitsu.com> wrote: > > Currently our customer uses PostgreSQL 9.6 and hits ECPG's bug during using numeric data type by SQLDA. > I confirmed that this problem is occurred on master and 9.6 latest branch. > > FIX > --------------------------------------- > Above source code should be fixed and other similar bugs are fixed too. > I attached patches for bug fix and regression test for master branch. > I hope this bug fix will be backport to other versions. Hi, Thanks for the patches. Unfortunately, judging from the cfbot.cputube.org they can't be applied anymore to the current master, could you please rebase them?
Commits
-
Second try at fixing numeric data passed through an ECPG SQLDA.
- 06c723447b6b 12.0 landed
- f9e25ba14077 9.6.12 landed
- 68f30638a050 9.5.16 landed
- 41609776f2c2 9.4.21 landed
- 4618fdd67412 11.2 landed
- 2e8ed4659972 10.7 landed
-
Fix incorrect results for numeric data passed through an ECPG SQLDA.
- ecfd5579561c 12.0 landed
- e1f25901268c 9.6.12 landed
- be38945c6e66 9.5.16 landed
- 9e5e3861c782 9.4.21 landed
- 68393f3fd6b9 11.2 landed
- 32060f6780bc 10.7 landed