mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-07 12:20:31 +01: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:
parent
8722e7965f
commit
6fbd7b93c6
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user