Nov 2018

2 commits
Second try at fixing numeric data passed through an ECPG SQLDA.
14 Nov 2018Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+6 more
LLM analysis, 100% surewritten from the discussion, no matching patch

This follow-up adds num->buf guards to the three numeric buffer paths in src/interfaces/ecpg/ecpglib/sqlda.c and adds NaN regression coverage; no attachment contains these changes. It implements Tom Lane's NaN analysis in #9 and the final NULL-buffer check explained in #10.

Fix incorrect results for numeric data passed through an ECPG SQLDA.
13 Nov 2018Tom Lanemaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+6 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #71 of 2 reviewers saw the final version

Applying #7 to the commit's parent produces identical src/interfaces/ecpg/ecpglib/sqlda.c; the commit additionally tests 0.0 in sqlda.pgc and updates expected output. The commit credits Daisuke Higuchi's report and patch, which Tom Lane revised and posted.

  • Dmitry Dolgovsaw an earlier versionLLM analysis, 98% sureIn #5, he reports testing #4 and still observing truncated digits; #7 subsequently changes zero-digit handling.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Higuchi, DaisukeLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane2

N LLM means N of the credits come from LLM analysis, not from commit trailers.