Re: Index not used in functions in 7.0?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kyle Bateman <kyle(at)actarg(dot)com>, pgsql-sql(at)postgresql(dot)org, merrill(at)actarg(dot)com
Subject: Re: Index not used in functions in 7.0?
Date: 2000-05-17 17:18:34
Message-ID: Pine.LNX.4.21.0005162246470.362-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message mikeo 2000-05-17 17:41:24 line type
Previous Message Patrick Robin 2000-05-17 17:13:20 pg_dump return failed sanity check