You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by ma...@apache.org on 2025/01/15 06:27:35 UTC
(cloudberry) 02/02: Correct comment on relallivisible for AO/CO tables
This is an automated email from the ASF dual-hosted git repository.
maxyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 6cec3486563e89123f61e911a58c78b3e63e019f
Author: Soumyadeep Chakraborty <so...@gmail.com>
AuthorDate: Mon Jul 24 17:38:11 2023 -0700
Correct comment on relallivisible for AO/CO tables
Reviewed-by: Divyesh Vanjare <va...@vmware.com>
---
src/backend/catalog/index.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/backend/catalog/index.c b/src/backend/catalog/index.c
index eea39c54a9..d925dbbdfa 100644
--- a/src/backend/catalog/index.c
+++ b/src/backend/catalog/index.c
@@ -3043,8 +3043,7 @@ index_update_stats(Relation rel,
relpages = RelationGetNumberOfBlocks(rel);
/*
- * GPDB: In theory, it is possible to support index only scans with AO
- * tables, but disable them for now by setting relallvisible to 0.
+ * GPDB: We don't maintain relallvisible for AO/CO tables.
*/
if (rd_rel->relkind != RELKIND_INDEX && !RelationStorageIsAO(rel))
visibilitymap_count(rel, &relallvisible, NULL);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org