This is an automated email from the ASF dual-hosted git repository.
chenjinbao1989 pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/cbdb-postgres-merge by this
push:
new f450a066a04 Init nextGxid in start up
f450a066a04 is described below
commit f450a066a04ff9fc1c64b6dee1f513e2a20b0a06
Author: Jinbao Chen <[email protected]>
AuthorDate: Mon Oct 20 23:56:56 2025 +0800
Init nextGxid in start up
---
src/backend/access/transam/xlog.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 4721cf2f2d8..cd2a517baf5 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -5454,6 +5454,7 @@ StartupXLOG(void)
/* initialize shared memory variables from the checkpoint record */
ShmemVariableCache->nextXid = checkPoint.nextXid;
+ ShmemVariableCache->nextGxid = checkPoint.nextGxid;
ShmemVariableCache->nextOid = checkPoint.nextOid;
ShmemVariableCache->oidCount = 0;
MultiXactSetNextMXact(checkPoint.nextMulti, checkPoint.nextMultiOffset);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]