Sep 2020

3 commits
Teach walsender to update its process title for replication commands.
17 Sep 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #41 of 1 reviewer saw the final version

The commit implements all seven set_ps_display() additions and the redundant idle-report removal from #4. It adapts the calls to reuse the cmdtag variable introduced by the completion-tag work, following the concrete proposal in #12.

  • Alvaro Herrerasaw the final versionLLM analysis, 98% sureIn #12, he supplied a concrete revision sharing cmdtag between process-title and completion calls, which Tom accepted in #13 and used in the commit.
Fix bogus completion tag usage in walsender
17 Sep 2020Alvaro Herreramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.0
LLM analysis, 99% suremodified before commitlight changesfrom patchset #101 of 1 reviewer saw the final version

The commit retains #10's per-command completion calls, EndReplicationCommand() helper, and removal of CMDTAG_DROP_REPLICATION_SLOT. Its additional edits share command strings through cmdtag, improve the helper comment, and route StartReplication()'s existing START_STREAMING completion through the equivalent helper.

  • Tom Lanesaw the final versionLLM analysis, 98% sureBeyond reporting the original problem, Tom examined #10's code in #11, identified repetitive command strings, and checked the resulting cmdtag design and completion-call placement in #13.
Make walsenders show their replication commands in pg_stat_activity.
14 Sep 2020Tom Lanemaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.4+3 moreAlso in: subscription/t/010_truncate.pl failure on desmoxytes in REL_13_STABLE
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #1

The commit preserves #1's activity reporting, debug_query_string handling, and SQL early exit in src/backend/replication/walsender.c, adding replication_scanner_finish() and removing the redundant SnapBuildClearExportedSnapshot() call. thread #44428 has no patchsets, so it supplies no competing patch source.

Credits across 3 commits

Author
Tom LaneLLM2
Alvaro HerreraLLM1
Committer
Tom Lane2
Alvaro Herrera1

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