diff --git a/src/backend/access/transam/varsup.c b/src/backend/access/transam/varsup.c index dd3d7498250..3ade84616a3 100644 --- a/src/backend/access/transam/varsup.c +++ b/src/backend/access/transam/varsup.c @@ -27,9 +27,6 @@ #include "utils/syscache.h" -/* Number of OIDs to prefetch (preallocate) per XLOG write */ -#define VAR_OID_PREFETCH 8192 - /* pointer to "variable cache" in shared memory (set up by shmem.c) */ VariableCache ShmemVariableCache = NULL; diff --git a/src/include/access/transam.h b/src/include/access/transam.h index 45bc724ce88..9bcc7d3d91e 100644 --- a/src/include/access/transam.h +++ b/src/include/access/transam.h @@ -196,6 +196,9 @@ FullTransactionIdAdvance(FullTransactionId *dest) #define FirstUnpinnedObjectId 12000 #define FirstNormalObjectId 16384 +/* Number of OIDs to prefetch (preallocate) per XLOG write */ +#define VAR_OID_PREFETCH 8192 + /* * VariableCache is a data structure in shared memory that is used to track * OID and XID assignment state. For largely historical reasons, there is