SELECT reltuples FROM pg_class WHERE oid = 'schema_name.table_name'::regclass;
(replacing schema_name and table_name)
(source)
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.
SELECT reltuples FROM pg_class WHERE oid = 'schema_name.table_name'::regclass;