diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-08-16 00:22:32 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-11-08 11:37:28 -0500 |
commit | 2eb4a831e5fb5d8fc17e13aea56e04af3efe27b4 (patch) | |
tree | b46993cceb7cd8b848e39a45c1bb8c73dc67b221 /src/backend/executor/nodeAgg.c | |
parent | 4497f2f3b30fa5cd48898033c351bfcf01ce73e2 (diff) | |
download | postgresql-2eb4a831e5fb5d8fc17e13aea56e04af3efe27b4.tar.gz postgresql-2eb4a831e5fb5d8fc17e13aea56e04af3efe27b4.zip |
Change TRUE/FALSE to true/false
The lower case spellings are C and C++ standard and are used in most
parts of the PostgreSQL sources. The upper case spellings are only used
in some files/modules. So standardize on the standard spellings.
The APIs for ICU, Perl, and Windows define their own TRUE and FALSE, so
those are left as is when using those APIs.
In code comments, we use the lower-case spelling for the C concepts and
keep the upper-case spelling for the SQL concepts.
Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
Diffstat (limited to 'src/backend/executor/nodeAgg.c')
-rw-r--r-- | src/backend/executor/nodeAgg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index 2b118359b53..d26ce0847a0 100644 --- a/src/backend/executor/nodeAgg.c +++ b/src/backend/executor/nodeAgg.c @@ -2628,7 +2628,7 @@ agg_retrieve_hash_table(AggState *aggstate) else { /* No more hashtables, so done */ - aggstate->agg_done = TRUE; + aggstate->agg_done = true; return NULL; } } @@ -4206,12 +4206,12 @@ AggGetTempMemoryContext(FunctionCallInfo fcinfo) * AggStateIsShared - find out whether transition state is shared * * If the function is being called as an aggregate support function, - * return TRUE if the aggregate's transition state is shared across - * multiple aggregates, FALSE if it is not. + * return true if the aggregate's transition state is shared across + * multiple aggregates, false if it is not. * - * Returns TRUE if not called as an aggregate support function. + * Returns true if not called as an aggregate support function. * This is intended as a conservative answer, ie "no you'd better not - * scribble on your input". In particular, will return TRUE if the + * scribble on your input". In particular, will return true if the * aggregate is being used as a window function, which is a scenario * in which changing the transition state is a bad idea. We might * want to refine the behavior for the window case in future. |