Skip to content

Commit 6cec348

Browse files
soumyadeep2007my-ship-it
authored andcommitted
Correct comment on relallivisible for AO/CO tables
Reviewed-by: Divyesh Vanjare <[email protected]>
1 parent f51358b commit 6cec348

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/catalog/index.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,8 +3043,7 @@ index_update_stats(Relation rel,
30433043
relpages = RelationGetNumberOfBlocks(rel);
30443044

30453045
/*
3046-
* GPDB: In theory, it is possible to support index only scans with AO
3047-
* tables, but disable them for now by setting relallvisible to 0.
3046+
* GPDB: We don't maintain relallvisible for AO/CO tables.
30483047
*/
30493048
if (rd_rel->relkind != RELKIND_INDEX && !RelationStorageIsAO(rel))
30503049
visibilitymap_count(rel, &relallvisible, NULL);

0 commit comments

Comments
 (0)