Mar 2023

1 commit
Implement find_my_exec()'s path normalization using realpath(3).
23 Mar 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #71 of 3 reviewers saw the final version

The src/common/exec.c diff matches #7 with comment edits and Windows error handling changed from _dosmaperr(GetLastError()) to clearing errno before _fullpath(), incorporating feedback retained in #19. Tom explicitly confirms committing the first patch plus Munro's recommendation in #24; the second patch's symlink-preservation fast path is absent.

  • Andrew Dunstansaw an earlier versionLLM analysis, 90% sureAndrew proposed the adopted realpath approach in #4 and examined directory-symlink behavior in #12, before the subsequent Windows error-handling change.
  • Peter Eisentrautsaw an earlier versionLLM analysis, 94% surePeter identified pg_config paths that could break dependent packages after upgrades in #10 and #16, prompting the experimental revision, while the eventual commit retained the original resolution policy and changed Windows error handling.
  • Thomas Munrosaw the final versionLLM analysis, 97% sureThomas reported Windows experiments and recommended trusting _fullpath() to set errno in #18, supplying the error-handling correction explicitly retained in the committed version according to #24.

Credits across 1 commit

Author
Tom LaneLLM1
Committer
Tom Lane1

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