diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-11-19 23:22:00 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-11-19 23:22:00 +0000 |
| commit | b60be3f2f8d094da79e04c6eda888f401b09dc39 (patch) | |
| tree | 0590e0647deb5041b8dabcabf03770ebef8e8d43 /src/backend/nodes/equalfuncs.c | |
| parent | 54cb1db6cf4d4bf4e44148582bbd2c99684e7dfd (diff) | |
| download | postgresql-b60be3f2f8d094da79e04c6eda888f401b09dc39.tar.gz | |
Add an at-least-marginally-plausible method of estimating the number
of groups produced by GROUP BY. This improves the accuracy of planning
estimates for grouped subselects, and is needed to check whether a
hashed aggregation plan risks memory overflow.
Diffstat (limited to 'src/backend/nodes/equalfuncs.c')
| -rw-r--r-- | src/backend/nodes/equalfuncs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/nodes/equalfuncs.c b/src/backend/nodes/equalfuncs.c index 68e93e48b0..61e314ff18 100644 --- a/src/backend/nodes/equalfuncs.c +++ b/src/backend/nodes/equalfuncs.c @@ -20,7 +20,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.164 2002/11/15 02:50:06 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/nodes/equalfuncs.c,v 1.165 2002/11/19 23:21:58 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -628,9 +628,9 @@ _equalQuery(Query *a, Query *b) /* * We do not check the internal-to-the-planner fields: base_rel_list, - * other_rel_list, join_rel_list, equi_key_list, query_pathkeys. They - * might not be set yet, and in any case they should be derivable from - * the other fields. + * other_rel_list, join_rel_list, equi_key_list, query_pathkeys, + * hasJoinRTEs. They might not be set yet, and in any case they should + * be derivable from the other fields. */ return true; } |
