X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B2A2E537A8 for ; Fri, 25 Mar 2005 03:19:32 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61878-10 for ; Fri, 25 Mar 2005 03:19:24 +0000 (GMT) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by svr1.postgresql.org (Postfix) with ESMTP id D5CB35379F for ; Fri, 25 Mar 2005 03:19:23 +0000 (GMT) X-EthosMedia-Virus-Scanned: no infections found Received: from [63.195.55.98] (account josh@agliodbs.com HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 7165193 for pgsql-docs@postgresql.org; Thu, 24 Mar 2005 19:21:19 -0800 From: Josh Berkus Organization: Aglio Database Solutions To: pgsql-docs@postgresql.org Subject: Re: [PATCHES] Approximate count(*) Date: Thu, 24 Mar 2005 19:19:00 -0800 User-Agent: KMail/1.6.2 References: <125db1c7753893171b6ef46609035de8@biglumber.com> In-Reply-To: <125db1c7753893171b6ef46609035de8@biglumber.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200503241919.00628.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/18 X-Sequence-Number: 2914 David, If Jim and I finish our work for 8.1, then you'll be able to do: SELECT approx_records FROM pg_sysviews.pg_tables WHERE schema_name = 'schema' AND table_name = 'table' But the same caveats will apply. -- Josh Berkus Aglio Database Solutions San Francisco