Received: from merganser.its.uu.se (merganser.its.uu.se [130.238.6.236]) by hub.org (8.9.3/8.9.3) with ESMTP id NAA61873 for ; Wed, 17 May 2000 13:14:04 -0400 (EDT) (envelope-from peter@localhost.its.uu.se) Received: from regulus.student.UU.SE ([130.238.5.2]:38170 "EHLO regulus.its.uu.se") by merganser.its.uu.se with ESMTP id ; Wed, 17 May 2000 19:13:17 +0200 Received: from peter (helo=localhost) by regulus.its.uu.se with local-esmtp (Exim 3.02 #2) id 12s7Ss-0000A5-00; Wed, 17 May 2000 19:18:34 +0200 Date: Wed, 17 May 2000 19:18:34 +0200 (CEST) From: Peter Eisentraut To: Tom Lane cc: Kyle Bateman , pgsql-sql@postgresql.org, merrill@actarg.com Subject: Re: Index not used in functions in 7.0? In-Reply-To: <21654.958494988@sss.pgh.pa.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Archive-Number: 200005/29 Tom Lane writes: > select attname,attdisbursion,s.* > from pg_statistic s, pg_attribute a, pg_class c > where starelid = c.oid and attrelid = c.oid and staattnum = attnum > and relname = 'FOO'; > > (I'm beginning to think we should create a standard system view > for this query ;-)) \dstats? -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden