mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Agg/Aggreg cleanup and datetime.sql patch.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.37 1999/01/25 12:01:04 vadim Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.38 1999/01/25 18:02:15 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -249,7 +249,7 @@ union_planner(Query *parse)
|
||||
{
|
||||
int old_length=0, new_length=0;
|
||||
|
||||
/* Create the AGG node but use 'tlist' not 'new_tlist' as target list because we
|
||||
/* Create the Agg node but use 'tlist' not 'new_tlist' as target list because we
|
||||
* don't want the additional attributes (only used for the havingQual, see above)
|
||||
* to show up in the result */
|
||||
result_plan = (Plan *) make_agg(tlist, result_plan);
|
||||
@ -259,7 +259,7 @@ union_planner(Query *parse)
|
||||
* the result tuple of the subplans.
|
||||
*/
|
||||
((Agg *) result_plan)->aggs =
|
||||
set_agg_tlist_references((Agg *) result_plan);
|
||||
get_agg_tlist_references((Agg *) result_plan);
|
||||
|
||||
|
||||
/***S*H***/
|
||||
|
Reference in New Issue
Block a user