Cheating with the row count estimate from https://wiki.postgresql.org/wiki/Slow_Counting. A regular ANALYZE should make this number accurate enough?
Cheating with the row count estimate from https:/ /wiki.postgresq l.org/wiki/ Slow_Counting. A regular ANALYZE should make this number accurate enough?