Re: Expression index ignores column statistics target - Mailing list pgsql-hackers

From Michael Fuhr
Subject Re: Expression index ignores column statistics target
Date
Msg-id 20051001052319.GA46657@winnie.fuhr.org
Whole thread Raw
In response to Re: Expression index ignores column statistics target  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Oct 01, 2005 at 12:53:03AM -0400, Tom Lane wrote:
> The code does in fact honor per-column statistics targets attached to
> expression indexes, viz
> 
> alter table myfuncindex alter column pg_expression_1 set statistics 100;

Aha -- that's the piece I didn't know about.  I was wondering where
those statistics were being stored, since they were affected by
default_statistics_target but not by per-column statistics targets.
And now I see them when I don't restrict queries against pg_stats
by just the table or column name.  Thanks.

-- 
Michael Fuhr


pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Expression index ignores column statistics target
Next
From: "Dann Corbit"
Date:
Subject: Re: [PERFORM] A Better External Sort?