Hi, hackers I found that we set the SO_TYPE_ANALYZE option in table_beginscan_analyze()
static inline TableScanDesc table_beginscan_analyze(Relation rel) { uint32 flags = SO_TYPE_ANALYZE; return rel->rd_tableam->scan_begin(rel, NULL, 0, NULL, NULL, flags); } But I didn’t find a place to handle that option. Do we miss something? ex: forget handle it in table_endscan. Else, it’s not used at all. The first commit introduced this option is c3b23ae457. Other commits modify this option just changed the enum order. Regards, Zhang Mingli