Mar 2020

4 commits
Go back to returning int from ereport auxiliary functions.
25 Mar 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

After Thomas Munro reported incompatible void/int operands in #26, Tom chose to restore integer return values in #27 and confirmed completion in #28. The commit reverses the helper-return-type changes from 17a28b0364; no attached patch proposes this revert.

Improve the internal implementation of ereport().
24 Mar 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #211 of 1 reviewer saw the final version

This lands the second part of #21: void-returning helpers, location arguments moved to errfinish(), and elog() implemented through ereport(). Differences accommodate the preceding ABI-preserving commit and move an obsolete comment deletion between commits; #21 and the commit credit establish joint authorship by Andres Freund and Tom Lane.

  • Tom Lanesaw the final versioncommittercommitted the patch
Re-implement the ereport() macro using __VA_ARGS__.
24 Mar 2020Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+1 more
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #211 of 1 reviewer saw the final version

This lands the first part of #21, including matching documentation and postgres.c examples, while preserving errfinish(int dummy,...) and calling errfinish(0) following #22 and #23. It also incorporates the obsolete errcontext comment deletion from the second part; the commit credits Andres Freund and Tom Lane.

  • Tom Lanesaw the final versioncommittercommitted the patch
Add missing errcode() in a few ereport calls.
18 Mar 2020Amit Kapilamaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1+5 more
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

All four errcode() additions in contrib/adminpack/adminpack.c and src/backend/storage/page/bufpage.c match #1 exactly. Amit Kapila announced the completed commit in #8.

  • Amit Kapilasaw the final versioncommittercommitted the patch

Credits across 4 commits

Author
Andres FreundLLM2
Masahiko Sawada1
Reviewer
Tom Lanecommitter2
Amit Kapilacommitter1
Reported by
Masahiko Sawada1
Committer
Tom Lane3
Amit Kapila1

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