1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-12 21:01:52 +03:00

Rename Aggreg to Aggref.

This commit is contained in:
Bruce Momjian
1999-01-24 00:28:37 +00:00
parent 157349e3af
commit 17467bb7fb
21 changed files with 221 additions and 221 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.42 1999/01/21 16:08:37 vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.43 1999/01/24 00:28:20 momjian Exp $
*
* NOTES
* Most of the read functions for plan nodes are tested. (In fact, they
@ -1161,19 +1161,19 @@ _readParam()
}
/* ----------------
* _readAggreg
* _readAggref
*
* Aggreg is a subclass of Node
* Aggref is a subclass of Node
* ----------------
*/
static Aggreg *
_readAggreg()
static Aggref *
_readAggref()
{
Aggreg *local_node;
Aggref *local_node;
char *token;
int length;
local_node = makeNode(Aggreg);
local_node = makeNode(Aggref);
token = lsptok(NULL, &length); /* eat :aggname */
token = lsptok(NULL, &length); /* get aggname */
@ -2040,7 +2040,7 @@ parsePlanString(void)
else if (!strncmp(token, "SORT", length))
return_value = _readSort();
else if (!strncmp(token, "AGGREG", length))
return_value = _readAggreg();
return_value = _readAggref();
else if (!strncmp(token, "SUBLINK", length))
return_value = _readSubLink();
else if (!strncmp(token, "AGG", length))