File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ static int SyncRepWaitMode = SYNC_REP_NO_WAIT;
68
68
69
69
static void SyncRepQueueInsert (int mode );
70
70
static void SyncRepCancelWait (void );
71
+ static int SyncRepWakeQueue (bool all , int mode );
71
72
72
73
static int SyncRepGetStandbyPriority (void );
73
74
@@ -523,7 +524,7 @@ SyncRepGetStandbyPriority(void)
523
524
*
524
525
* Must hold SyncRepLock.
525
526
*/
526
- int
527
+ static int
527
528
SyncRepWakeQueue (bool all , int mode )
528
529
{
529
530
volatile WalSndCtlData * walsndctl = WalSndCtl ;
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ extern void SyncRepReleaseWaiters(void);
47
47
/* called by checkpointer */
48
48
extern void SyncRepUpdateSyncStandbysDefined (void );
49
49
50
- /* called by various procs */
51
- extern int SyncRepWakeQueue (bool all , int mode );
52
-
53
50
extern bool check_synchronous_standby_names (char * * newval , void * * extra , GucSource source );
54
51
extern void assign_synchronous_commit (int newval , void * extra );
55
52
You can’t perform that action at this time.
0 commit comments