Apr 2025

2 commits
Follow-up fixes for SHA-2 patch (commit 749a9e20c).
7 Apr 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #341 of 2 reviewers saw the final version

The commit preserves the salt-character check, const declaration, and use-after-free fix from #34. Tom Lane adds mb/pg_wchar.h and changes the diagnostic to print one complete character using pg_mblen(), as explained in #38.

  • Andres Freundsaw an earlier versionLLM analysis, 94% sureAndres identified the use-after-free in the landed version of #25 and supplied Valgrind confirmation in #36, prompting the fix in #34, but did not explicitly review that follow-up patch.
  • Tom Lanesaw the final versioncommittercommitted the patch
Add modern SHA-2 based password hashes to pgcrypto.
5 Apr 2025Álvaro Herreramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surelanded as postedfrom patchset #251 of 2 reviewers saw the final version

Applying #24 followed by both fix-up attachments from #25 reproduces all nine committed files byte-for-byte. The commit credits Bernd Helmle as author; Alvaro Herrera supplied and sent the final review deltas.

  • Japin Lisaw an earlier versiontrailerJapin reported a crash and missing cancellation in #6, then reviewed macros and malformed-salt behavior in #15; subsequent salt-parser and rounds-parsing changes exceeded light edits.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Bernd Helmle2
Reviewer
Alvaro Herreracommitter1
Japin Li1
Tom Lanecommitter1
Reported by
Andres Freund1
Tom Lane1
Committer
Alvaro Herrera1
Tom Lane1