Add a few comments about ANALYZE's strategy for collecting MCVs.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 3c69b33f459f62fe6db66c386ef12620ea697f74
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-04-04T21:06:33Z
Releases: 9.6.0
Add a few comments about ANALYZE's strategy for collecting MCVs.

Alex Shulgin complained that the underlying strategy wasn't all that
apparent, particularly not the fact that we intentionally have two
code paths depending on whether we think the column has a limited set
of possible values or not.  Try to make it clearer.

Files

PathChange+/−
src/backend/commands/analyze.c modified +30 −2