X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id DA3EF9DCA26 for ; Wed, 11 Jan 2006 18:21:43 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 02648-04 for ; Wed, 11 Jan 2006 18:21:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id ACAE69DCA25 for ; Wed, 11 Jan 2006 18:21:40 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k0BMLdww008935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Jan 2006 15:21:41 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k0BMLd3U088391; Wed, 11 Jan 2006 15:21:39 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k0BMLcEF088390; Wed, 11 Jan 2006 15:21:38 -0700 (MST) (envelope-from mfuhr) Date: Wed, 11 Jan 2006 15:21:38 -0700 From: Michael Fuhr To: Dave Dutcher Cc: pgsql-performance@postgresql.org Subject: Re: Showing Column Statistics Number Message-ID: <20060111222138.GA88301@winnie.fuhr.org> References: <020101c616fb$1c4f9de0$8300a8c0@tridecap.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <020101c616fb$1c4f9de0$8300a8c0@tridecap.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.089 required=5 tests=[AWL=0.089] X-Spam-Score: 0.089 X-Spam-Level: X-Archive-Number: 200601/129 X-Sequence-Number: 16607 On Wed, Jan 11, 2006 at 04:05:18PM -0600, Dave Dutcher wrote: > I've looked around through the docs, but can't seem to find an answer to > this. If I change a column's statistics with "Alter table alter column > set statistics n", is there a way I can later go back and see what the > number is for that column? I want to be able to tell which columns I've > changed the statistics on, and which ones I haven't. pg_attribute.attstattarget http://www.postgresql.org/docs/8.1/interactive/catalog-pg-attribute.html -- Michael Fuhr