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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a few comments about ANALYZE's strategy for collecting MCVs.
Date: 2016-04-04 21:06:39
Message-ID: E1anBhn-0007jA-BQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3c69b33f459f62fe6db66c386ef12620ea697f74

Modified Files
--------------
src/backend/commands/analyze.c | 32 ++++++++++++++++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2016-04-04 21:12:51 pgsql: Display WAL pointer in rm_redo error callback
Previous Message Alvaro Herrera 2016-04-04 20:15:05 Re: pgsql: XLogReader general code cleanup