diff options
| author | Bruce Momjian <bruce@momjian.us> | 1998-01-04 04:31:43 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1998-01-04 04:31:43 +0000 |
| commit | 4b05912f0b6aa69507bc32ac6ddaf8aeecdeb396 (patch) | |
| tree | 2ff63f8cd09f1d5c628cefb16827c406ef40f014 /src/include/nodes/primnodes.h | |
| parent | c629d3b9d65fdce320aba26d092bfe96274c6092 (diff) | |
| download | postgresql-4b05912f0b6aa69507bc32ac6ddaf8aeecdeb396.tar.gz | |
Fix for count(*), aggs with views and multiple tables and sum(3).
Diffstat (limited to 'src/include/nodes/primnodes.h')
| -rw-r--r-- | src/include/nodes/primnodes.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/include/nodes/primnodes.h b/src/include/nodes/primnodes.h index f0706d1392..1e896e5e13 100644 --- a/src/include/nodes/primnodes.h +++ b/src/include/nodes/primnodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: primnodes.h,v 1.11 1997/09/08 21:52:58 momjian Exp $ + * $Id: primnodes.h,v 1.12 1998/01/04 04:31:37 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -255,18 +255,19 @@ typedef struct Func * aggname - name of the aggregate * basetype - base type Oid of the aggregate * aggtype - type Oid of final result of the aggregate - * query - XXX comment me - * target - XXX comment me + * target - attribute or expression we are aggregating on + * aggno - index to ecxt_values * ---------------- */ typedef struct Aggreg { NodeTag type; char *aggname; - Oid basetype; /* base type of the aggregate */ - Oid aggtype; /* type of final result */ - Node *target; /* attribute to aggreg on */ - int aggno; /* index to ecxt_values */ + Oid basetype; + Oid aggtype; + Node *target; + int aggno; + bool usenulls; } Aggreg; /* ---------------- |
