summaryrefslogtreecommitdiff
path: root/src/include/replication
diff options
context:
space:
mode:
authorPeter Geoghegan2023-04-13 17:15:20 +0000
committerPeter Geoghegan2023-04-13 17:15:20 +0000
commitd6f0f95a6bb7fa43731c6db83226a3c574041659 (patch)
tree0d7f1e9c600b8bc5162dd3a03ed16454e7638199 /src/include/replication
parentf7431bca8b0138bdbce7025871560d39119565a0 (diff)
Harmonize some more function parameter names.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in a few places. These inconsistencies were all introduced relatively recently, after the code base had parameter name mismatches fixed in bulk (see commits starting with commits 4274dc22 and 035ce1fe). pg_bsd_indent still has a couple of similar inconsistencies, which I (pgeoghegan) have left untouched for now. Like all earlier commits that cleaned up function parameter names, this commit was written with help from clang-tidy.
Diffstat (limited to 'src/include/replication')
-rw-r--r--src/include/replication/worker_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/replication/worker_internal.h b/src/include/replication/worker_internal.h
index dc87a4edd13..dce71d2c501 100644
--- a/src/include/replication/worker_internal.h
+++ b/src/include/replication/worker_internal.h
@@ -282,7 +282,7 @@ extern void pa_switch_to_partial_serialize(ParallelApplyWorkerInfo *winfo,
bool stream_locked);
extern void pa_set_xact_state(ParallelApplyWorkerShared *wshared,
- ParallelTransState in_xact);
+ ParallelTransState xact_state);
extern void pa_set_stream_apply_worker(ParallelApplyWorkerInfo *winfo);
extern void pa_start_subtrans(TransactionId current_xid,