mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Convert some extern variables to static
These probably should have been static all along, it was only forgotten out of sloppiness. Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org
This commit is contained in:
@ -103,7 +103,7 @@ typedef struct SlotSyncCtxStruct
|
||||
slock_t mutex;
|
||||
} SlotSyncCtxStruct;
|
||||
|
||||
SlotSyncCtxStruct *SlotSyncCtx = NULL;
|
||||
static SlotSyncCtxStruct *SlotSyncCtx = NULL;
|
||||
|
||||
/* GUC variable */
|
||||
bool sync_replication_slots = false;
|
||||
|
@ -275,7 +275,7 @@ typedef enum
|
||||
} TransApplyAction;
|
||||
|
||||
/* errcontext tracker */
|
||||
ApplyErrorCallbackArg apply_error_callback_arg =
|
||||
static ApplyErrorCallbackArg apply_error_callback_arg =
|
||||
{
|
||||
.command = 0,
|
||||
.rel = NULL,
|
||||
|
Reference in New Issue
Block a user