We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f24e94 commit 6fc4419Copy full SHA for 6fc4419
src/backend/utils/adt/dbsize.c
@@ -464,7 +464,7 @@ calculate_relation_size(Relation rel, ForkNumber forknum)
464
return (*relation_size_hook) (rel, forknum);
465
466
/* Call into the tableam api if the table is not heap, i.e. AO/CO/PAX relations. */
467
- if (RelationIsNonblockRelation(rel))
+ if (RelationIsAppendOptimized(rel))
468
return table_relation_size(rel, forknum);
469
470
relationpath = relpathbackend(rel->rd_node, rel->rd_backend, forknum);
0 commit comments