Re: database row count

From: Isaac Vetter <ivetter(at)math(dot)purdue(dot)edu>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, Carol Cheung <cacheung(at)consumercontact(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: database row count
Date: 2008-01-30 22:05:53
Message-ID: 47A0F4C1.9020206@math.purdue.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Jonah H. Harris wrote:
> On Jan 30, 2008 4:14 PM, Carol Cheung <cacheung(at)consumercontact(dot)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.

Carol, Jonah;

Much thanks for your answers;

Isaac

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Josh 2008-01-30 22:27:20 Re: Protecting a web app from Postgresql injection
Previous Message Mary Anderson 2008-01-30 21:48:59 Protecting a web app from Postgresql injection