Content-Length: 262982 | pFad | http://github.com/postgrespro/postgres/commit/8fff977e29cda7c1641c43f9b293134adc77b65a

17 Declare two variables in snapbuild.c as static. · postgrespro/postgres@8fff977 · GitHub
Skip to content

Commit 8fff977

Browse files
committed
Declare two variables in snapbuild.c as static.
Neither is accessed externally, I just seem to have missed the static when writing the code.
1 parent 0525876 commit 8fff977

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/replication/logical/snapbuild.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ struct SnapBuild
243243
* Starting a transaction -- which we need to do while exporting a snapshot --
244244
* removes knowledge about the previously used resowner, so we save it here.
245245
*/
246-
ResourceOwner SavedResourceOwnerDuringExport = NULL;
247-
bool ExportInProgress = false;
246+
static ResourceOwner SavedResourceOwnerDuringExport = NULL;
247+
static bool ExportInProgress = false;
248248

249249
/* transaction state manipulation functions */
250250
static void SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/8fff977e29cda7c1641c43f9b293134adc77b65a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy