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

Fix GroupBy: enable functions over aggregates and GroupBy-ed fields

in target list.
This commit is contained in:
Vadim B. Mikheev
1997-04-29 04:32:50 +00:00
parent f4279c46e7
commit a1fbd470a9
3 changed files with 87 additions and 66 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: parsenodes.h,v 1.14 1997/04/23 05:58:06 vadim Exp $
* $Id: parsenodes.h,v 1.15 1997/04/29 04:28:59 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -774,7 +774,7 @@ typedef struct SortClause {
*/
typedef struct GroupClause {
NodeTag type;
Resdom *resdom; /* attributes to group on */
TargetEntry *entry; /* attributes to group on */
Oid grpOpoid; /* the sort operator to use */
} GroupClause;