ALTER INDEX .. SET STATISTICS not documented

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Pg Docs <pgsql-docs(at)postgresql(dot)org>
Subject: ALTER INDEX .. SET STATISTICS not documented
Date: 2015-07-16 14:31:49
Message-ID: 20150716143149.GO2301@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

I'm sitting in Alexey Ermakov's talk and he just said that the command
in $SUBJECT is not documented ... do we need a separate blurb about it
somewhere?

I just tried it and it does do something useful, at least for expression
indexes, since we collect stats for those. This is news to me. There's
a small issue that the column names for them are rather awful, but since
they are unique there's not actually anything you can't do.

Note that it's allowed to change the stats target of non-expression
index columns too, but that doesn't seem to have any useful effect.

--
Álvaro Herrera Peñalolén, Chile

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2015-07-16 14:44:33 Re: ALTER INDEX .. SET STATISTICS not documented
Previous Message 김기성 2015-07-16 04:18:50 Publishing PG docs