aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/worker.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-05-12 09:19:04 -0700
committerAndres Freund <andres@anarazel.de>2022-05-12 12:39:33 -0700
commit09cd33f47bb32f904c32b5aabe607a5125159cc4 (patch)
tree4d2cdd2622cda583543546694ae2212b8a131294 /src/backend/replication/logical/worker.c
parent905c020bef99e16b37529203084cd93932e73805 (diff)
downloadpostgresql-09cd33f47bb32f904c32b5aabe607a5125159cc4.tar.gz
postgresql-09cd33f47bb32f904c32b5aabe607a5125159cc4.zip
Add 'static' to file-local variables missing it.
Noticed when comparing the set of exported symbols without / with -fvisibility=hidden after adding PGDLLIMPORT to intentionally exported symbols. Discussion: https://postgr.es/m/20220512164513.vaheofqp2q24l65r@alap3.anarazel.de
Diffstat (limited to 'src/backend/replication/logical/worker.c')
-rw-r--r--src/backend/replication/logical/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c
index 725a21b55ec..3b80ed92c07 100644
--- a/src/backend/replication/logical/worker.c
+++ b/src/backend/replication/logical/worker.c
@@ -251,7 +251,7 @@ static MemoryContext LogicalStreamingContext = NULL;
WalReceiverConn *LogRepWorkerWalRcvConn = NULL;
Subscription *MySubscription = NULL;
-bool MySubscriptionValid = false;
+static bool MySubscriptionValid = false;
bool in_remote_transaction = false;
static XLogRecPtr remote_final_lsn = InvalidXLogRecPtr;