mirror of
https://github.com/postgres/postgres.git
synced 2026-05-18 14:43:01 -04:00
875b0c62fa
clamp the estimated number of groups to table row count over 10, instead of table row count; this reflects a heuristic that people probably won't group over a near-unique set of columns, and the knowledge that we don't currently have any way to estimate the correlation of the columns better than guessing. This change creates a trivial plan change in one of the regression tests.