1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-09 06:21:09 +03:00

Small HAVING cleanup.

This commit is contained in:
Bruce Momjian
1998-03-31 23:31:10 +00:00
parent 9fbdda039d
commit 8dc48ba877
4 changed files with 16 additions and 11 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepunion.c,v 1.22 1998/03/31 04:43:49 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/prep/prepunion.c,v 1.23 1998/03/31 23:30:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -280,6 +280,8 @@ plan_inherit_query(List *relids,
new_root->uniqueFlag = NULL;
new_root->sortClause = NULL;
new_root->groupClause = NULL;
new_root->havingQual = NULL;
if (new_root->hasAggs)
{
new_root->hasAggs = false;