diff options
author | Alvaro Herrera | 2017-07-26 15:40:39 +0000 |
---|---|---|
committer | Alvaro Herrera | 2017-07-26 15:40:39 +0000 |
commit | c28e4f4dc6aeb75cf35f1339cbe3387263e0e69b (patch) | |
tree | 207736e3f5c484d430c9722ce823c9694e16ab73 /src/backend/statistics/dependencies.c | |
parent | 54dacc746628799a3a09ebb78876b0a8d2742d23 (diff) |
Remove obsolete comments about functional dependencies
Initial submitted versions of the functional dependencies patch ignored
row groups that were smaller than a configured size. However, that
consideration was removed in late stages of the patch just before
commit, but some comments referring to it remained. Remove them to
avoid confusion.
Author: Atsushi Torikoshi
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/statistics/dependencies.c')
-rw-r--r-- | src/backend/statistics/dependencies.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/backend/statistics/dependencies.c b/src/backend/statistics/dependencies.c index 89dece33504..2e7c0ad6ba6 100644 --- a/src/backend/statistics/dependencies.c +++ b/src/backend/statistics/dependencies.c @@ -286,14 +286,6 @@ dependency_degree(int numrows, HeapTuple *rows, int k, AttrNumber *dependency, * first (k-1) columns. If there's a single value in the last column, we * count the group as 'supporting' the functional dependency. Otherwise we * count it as contradicting. - * - * We also require a group to have a minimum number of rows to be - * considered useful for supporting the dependency. Contradicting groups - * may be of any size, though. - * - * XXX The minimum size requirement makes it impossible to identify case - * when both columns are unique (or nearly unique), and therefore - * trivially functionally dependent. */ /* start with the first row forming a group */ |