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

Fix inconsistencies and typos in the tree, take 9

This addresses more issues with code comments, variable names and
unreferenced variables.

Author: Alexander Lakhin
Discussion: https://postgr.es/m/7ab243e0-116d-3e44-d120-76b3df7abefd@gmail.com
This commit is contained in:
Michael Paquier
2019-08-05 12:14:58 +09:00
parent 75506195da
commit 8548ddc61b
80 changed files with 94 additions and 121 deletions

View File

@ -93,7 +93,7 @@ typedef struct WindowStatePerFuncData
bool resulttypeByVal;
bool plain_agg; /* is it just a plain aggregate function? */
int aggno; /* if so, index of its PerAggData */
int aggno; /* if so, index of its WindowStatePerAggData */
WindowObject winobj; /* object used in window function API */
} WindowStatePerFuncData;
@ -142,7 +142,7 @@ typedef struct WindowStatePerAggData
resulttypeByVal,
transtypeByVal;
int wfuncno; /* index of associated PerFuncData */
int wfuncno; /* index of associated WindowStatePerFuncData */
/* Context holding transition value and possibly other subsidiary data */
MemoryContext aggcontext; /* may be private, or winstate->aggcontext */