git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8722e79)
Remove unused parameter from ProcessSlotSyncInterrupts().
2025年8月29日 15:56:10 +0000 (10:56 -0500)
2025年8月29日 15:56:10 +0000 (10:56 -0500)
Oversight in commit 93db6cbda0.

Author: ChangAo Chen <cca5507@qq.com>
Discussion: https://postgr.es/m/tencent_7B42BBE8D0A5C28DDAB91436192CBCCB8307%40qq.com


diff --git a/src/backend/replication/logical/slotsync.c b/src/backend/replication/logical/slotsync.c
index caa003cb7b3ac103a666d70241e26bb4f485afbd..f5501c106dcaf199449195fd6ccf2e3789621a07 100644 (file)
--- a/src/backend/replication/logical/slotsync.c
+++ b/src/backend/replication/logical/slotsync.c
@@ -1170,7 +1170,7 @@ slotsync_reread_config(void)
* Interrupt handler for main loop of slot sync worker.
*/
static void
-ProcessSlotSyncInterrupts(WalReceiverConn *wrconn)
+ProcessSlotSyncInterrupts(void)
{
CHECK_FOR_INTERRUPTS();
@@ -1505,7 +1505,7 @@ ReplSlotSyncWorkerMain(const void *startup_data, size_t startup_data_len)
{
bool some_slot_updated = false;
- ProcessSlotSyncInterrupts(wrconn);
+ ProcessSlotSyncInterrupts();
some_slot_updated = synchronize_slots(wrconn);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /