Gregory Stark <[EMAIL PROTECTED]> writes: > Heikki Linnakangas <[EMAIL PROTECTED]> writes: >> Until we have a better metric for "sortedness", my earlier suggestion to >> print >> it was probably a bad idea. If anything, should probably print the same >> correlation metric that ANALYZE calculates, so that it would at least match >> what the planner uses for decision-making.
> I agree with that. I like the idea of printing a message though -- we should > just have it print the correlation for now and when we improve the stats we'll > print the new metric. Short of actually running an ANALYZE, I'm not seeing a good way to derive the same number it derives. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers