aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2014-08-31 23:53:12 +0200
committerAndres Freund <andres@anarazel.de>2014-08-31 23:53:12 +0200
commit8fff977e29cda7c1641c43f9b293134adc77b65a (patch)
tree95a5aacb477110766d5322edeaf3e12d84c76b30
parent05258761bf12a64befc9caec1947b254cdeb74c5 (diff)
downloadpostgresql-8fff977e29cda7c1641c43f9b293134adc77b65a.tar.gz
postgresql-8fff977e29cda7c1641c43f9b293134adc77b65a.zip
Declare two variables in snapbuild.c as static.
Neither is accessed externally, I just seem to have missed the static when writing the code.
-rw-r--r--src/backend/replication/logical/snapbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c
index 3319497603f..f51d52d94ef 100644
--- a/src/backend/replication/logical/snapbuild.c
+++ b/src/backend/replication/logical/snapbuild.c
@@ -243,8 +243,8 @@ struct SnapBuild
* Starting a transaction -- which we need to do while exporting a snapshot --
* removes knowledge about the previously used resowner, so we save it here.
*/
-ResourceOwner SavedResourceOwnerDuringExport = NULL;
-bool ExportInProgress = false;
+static ResourceOwner SavedResourceOwnerDuringExport = NULL;
+static bool ExportInProgress = false;
/* transaction state manipulation functions */
static void SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid);