mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Cleanup up code.
This commit is contained in:
parent
0435ecf5d5
commit
8eb08ae6b9
@ -111,7 +111,6 @@ ExecAgg(Agg *node)
|
||||
isNull2 = FALSE;
|
||||
|
||||
|
||||
/***S*H***/
|
||||
do {
|
||||
|
||||
|
||||
@ -486,7 +485,6 @@ ExecAgg(Agg *node)
|
||||
* ----------------
|
||||
*/
|
||||
|
||||
/***S*H***/
|
||||
}
|
||||
while((ExecQual(fix_opids(node->plan.qual),econtext)!=true) &&
|
||||
(node->plan.qual!=NULL));
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.25 1998/03/31 23:30:51 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.26 1998/04/13 21:07:09 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -60,8 +60,6 @@ make_groupPlan(List **tlist, bool tuplePerGroup,
|
||||
*****************************************************************************/
|
||||
|
||||
|
||||
/***S*H***/ /* Anfang */
|
||||
|
||||
static List *
|
||||
check_having_qual_for_aggs(Node *clause, List *subplanTargetList)
|
||||
{
|
||||
@ -84,7 +82,6 @@ check_having_qual_for_aggs(Node *clause, List *subplanTargetList)
|
||||
((Var *) clause)->varattno = subplanVar->resdom->resno;
|
||||
return NIL;
|
||||
}
|
||||
/***S*H***/
|
||||
else if (is_funcclause(clause) || not_clause(clause) ||
|
||||
or_clause(clause) || and_clause(clause))
|
||||
{
|
||||
@ -165,7 +162,6 @@ check_having_qual_for_aggs(Node *clause, List *subplanTargetList)
|
||||
return NIL;
|
||||
}
|
||||
}
|
||||
/***S*H***/ /* Ende */
|
||||
|
||||
|
||||
Plan *
|
||||
|
@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.9 1998/04/08 06:38:57 thomas Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.10 1998/04/13 21:07:15 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@ -2542,7 +2542,6 @@ groupby: ColId
|
||||
|
||||
having_clause: HAVING a_expr
|
||||
{
|
||||
/***S*H***/ /* elog(NOTICE, "HAVING not yet supported; ignore clause");*/
|
||||
$$ = $2;
|
||||
}
|
||||
| /*EMPTY*/ { $$ = NULL; }
|
||||
|
Loading…
Reference in New Issue
Block a user