Aug 2019

1 commit
Add safeguards in LSN, numeric and float calculation for custom errors
5 Aug 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #191 of 2 reviewers saw the final version

a76cfba663 implements #19 with an additional initialization in numeric_int4_opt_error(), preserves caller-side initializations in pg_lsn.c, guc.c and jsonpath_exec.c, and reorders the RETURN_ERROR arguments. Michael Paquier confirms committing with tweaks and identifies the omitted numeric routine in #20.

  • Álvaro Herrerasaw an earlier versiontrailerIn #17, he requested an explicit have_error macro argument after #16; the final commit subsequently added the numeric_int4_opt_error() safeguard.
  • Michael Paquiersaw the final versiontrailerHe reviewed initialization and NULL-pointer handling in #2, #13 and #15, assessed the macro change in #18, and committed the final version with additional safeguards as reported in #20.

Credits across 1 commit

Author
Jeevan Ladhe1
Reviewer
Alvaro Herrera1
Michael Paquier1
Committer
Michael Paquier1