database row count - Mailing list pgsql-novice

From Isaac Vetter
Subject database row count
Date
Msg-id 47A0D9CA.4040306@math.purdue.edu
Whole thread Raw
Responses Re: database row count  (Carol Cheung <cacheung@consumercontact.com>)
List pgsql-novice
Dear Pg experts;

I'd like to get a (rough) count of the numbers of rows across all tables
in a given database.

I understand that I could write a script to run count(*) on each table
and then sum the counts. Is there an easier way, has someone already
written this script?

Much Thanks,

Isaac Vetter

Attachment

pgsql-novice by date:

Previous
From: Mija Lee
Date:
Subject: Re: pg_cancel_backend and pg_ctl kill
Next
From: Carol Cheung
Date:
Subject: Re: database row count