diff options
Diffstat (limited to 'contrib/pgstattuple/pgstatapprox.c')
-rw-r--r-- | contrib/pgstattuple/pgstatapprox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgstattuple/pgstatapprox.c b/contrib/pgstattuple/pgstatapprox.c index 3cfbc08649..474c3bd517 100644 --- a/contrib/pgstattuple/pgstatapprox.c +++ b/contrib/pgstattuple/pgstatapprox.c @@ -184,7 +184,7 @@ statapprox_heap(Relation rel, output_type *stat) stat->table_len = (uint64) nblocks * BLCKSZ; - stat->tuple_count = vac_estimate_reltuples(rel, false, nblocks, scanned, + stat->tuple_count = vac_estimate_reltuples(rel, nblocks, scanned, stat->tuple_count + misc_count); /* |