Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> On Sat, Nov 02, 2002 at 04:20:47PM -0500, Tom Lane wrote:
>> During swap_relfilenodes, swap relation size statistic fields along with
>> the relfilenode and toast fields. This ensures that the newly-computed
>> statistics will be available on completion of CLUSTER.
> I haven't seen the change, but does this mean that ANALYZE is no longer
> needed right after CLUSTER?
If the pg_statistic entries were already good, then you shouldn't need
an ANALYZE, no.
regards, tom lane