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 d12602b93bc Fix tablespace version guc error
d12602b93bc is described below

commit d12602b93bce117f860f96d29f55415e659fa866
Author: Jinbao Chen <[email protected]>
AuthorDate: Sun Feb 8 12:48:55 2026 +0800

    Fix tablespace version guc error
---
 src/backend/utils/adt/misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/utils/adt/misc.c b/src/backend/utils/adt/misc.c
index 042c910f394..8172a835d4a 100644
--- a/src/backend/utils/adt/misc.c
+++ b/src/backend/utils/adt/misc.c
@@ -379,7 +379,7 @@ pg_tablespace_location(PG_FUNCTION_ARGS)
 Datum
 get_tablespace_version_directory_name(PG_FUNCTION_ARGS)
 {
-       PG_RETURN_TEXT_P(GP_TABLESPACE_VERSION_DIRECTORY);
+       PG_RETURN_TEXT_P(cstring_to_text(GP_TABLESPACE_VERSION_DIRECTORY));
 }
 
 /*


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to