mirror of
https://github.com/postgres/postgres.git
synced 2025-10-16 17:07:43 +03:00
Remove unused parameter from ProcessSlotSyncInterrupts().
Oversight in commit 93db6cbda0
.
Author: ChangAo Chen <cca5507@qq.com>
Discussion: https://postgr.es/m/tencent_7B42BBE8D0A5C28DDAB91436192CBCCB8307%40qq.com
This commit is contained in:
@@ -1170,7 +1170,7 @@ slotsync_reread_config(void)
|
|||||||
* Interrupt handler for main loop of slot sync worker.
|
* Interrupt handler for main loop of slot sync worker.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
ProcessSlotSyncInterrupts(WalReceiverConn *wrconn)
|
ProcessSlotSyncInterrupts(void)
|
||||||
{
|
{
|
||||||
CHECK_FOR_INTERRUPTS();
|
CHECK_FOR_INTERRUPTS();
|
||||||
|
|
||||||
@@ -1505,7 +1505,7 @@ ReplSlotSyncWorkerMain(const void *startup_data, size_t startup_data_len)
|
|||||||
{
|
{
|
||||||
bool some_slot_updated = false;
|
bool some_slot_updated = false;
|
||||||
|
|
||||||
ProcessSlotSyncInterrupts(wrconn);
|
ProcessSlotSyncInterrupts();
|
||||||
|
|
||||||
some_slot_updated = synchronize_slots(wrconn);
|
some_slot_updated = synchronize_slots(wrconn);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user