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 7fdc526bb77 Init resource manager in base init
7fdc526bb77 is described below
commit 7fdc526bb7753ae489d27fdff55236da08822786
Author: Jinbao Chen <[email protected]>
AuthorDate: Thu Dec 18 09:55:58 2025 +0800
Init resource manager in base init
---
src/backend/utils/init/postinit.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/backend/utils/init/postinit.c
b/src/backend/utils/init/postinit.c
index 21b6a701d77..479745e463d 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -701,6 +701,12 @@ BaseInit(void)
{
Assert(MyProc != NULL);
+ /*
+ * Set up resource manager
+ */
+ if (!IsUnderPostmaster)
+ ResManagerShmemInit();
+
/*
* Initialize our input/output/debugging file descriptors.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]