Jul 2023

1 commit
Fix pg_recvlogical upon signal termination
20 Jul 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #152 of 5 reviewers saw the final version

The commit implements #15 with committer changes in src/bin/pg_basebackup/pg_recvlogical.c: initializing cur_record_lsn before the loop, passing a typed reason argument to prepareToTerminate, and handling STREAM_STOP_NONE in its switch; it also registers StreamStopReason in src/tools/pgindent/typedefs.list. Michael Paquier explicitly confirms applying that patch with the initialization and argument fixes in #20.

  • Andres Freundsaw an earlier versiontrailerAndres identified the unintended reconnect path and questioned the two exit flags in #6, before the substantial shutdown redesign in #14.
  • Kyotaro Horiguchisaw an earlier versiontrailerKyotaro advocated normal shutdown through prepareToTerminate instead of treating interruption as an error or fsyncing on errors in #3, before substantial implementation changes.
  • Cary Huangsaw an earlier versiontrailerCary reported successful tests and requested removal of two void casts in #8, before the substantial shutdown redesign in #14.
  • Michaelsaw the final versiontrailerMichael Paquier, whose reviewer name is truncated in the supplied list, proposed the shared shutdown design in #13, reviewed the final submission in #17, and committed it with fixes confirmed in #20.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Bharath Rupireddy1
Reviewer
Andres Freund1
Cary Huang1
Kyotaro Horiguchi1
Michael1
Michael Paquiercommitter1
Reported by
Andres Freund1
Committer
Michael Paquier1