• B
    Fix calcuation of relpages for Append Only (Row) tables · 6b542cd4
    Bhuvnesh Chaudhary 提交于
    If a Append Only-Row oriented table was empty, relpages of the table was
    estimated as 1 for a segment. So, the relpages updated in pg_class was
    the total number of segments available in the cluster, however that is
    incorrect.
    If the table is empty, relpages for the table in pg_class should be
    updated to 1. Make the calculation to show consistent behavior with
    other table types.
    6b542cd4
analyzefuncs.c 11.1 KB