Re: database row count - Mailing list pgsql-novice

From Jonah H. Harris
Subject Re: database row count
Date
Msg-id 36e682920801301319h5cd9b316m7437eb0ffaafa290@mail.gmail.com
Whole thread Raw
In response to Re: database row count  (Carol Cheung <cacheung@consumercontact.com>)
Responses Re: database row count  (Isaac Vetter <ivetter@math.purdue.edu>)
List pgsql-novice
On Jan 30, 2008 4:14 PM, Carol Cheung <cacheung@consumercontact.com> wrote:
> How about
>
> SELECT relname, reltuples FROM pg_class WHERE relname IN (...);

It should be noted that this will only work if the tables have been
analyzed recently.

--
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation                | fax: 732.331.1301
499 Thornall Street, 2nd Floor          | jonah.harris@enterprisedb.com
Edison, NJ 08837                        | http://www.enterprisedb.com/

pgsql-novice by date:

Previous
From: Carol Cheung
Date:
Subject: Re: database row count
Next
From: Mary Anderson
Date:
Subject: Protecting a web app from Postgresql injection