diff options
author | Jeff Davis <jdavis@postgresql.org> | 2022-04-07 00:27:07 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2022-04-07 00:39:30 -0700 |
commit | 9553b4115f1879f66935f42fff0b798ef91866d0 (patch) | |
tree | 12a7f2e31a7b9e2d003b5a50513bf2b82fdeec80 /src/backend/utils/adt/pgstatfuncs.c | |
parent | e349c95d3e91754c8c3afc0587d52d44a479c8d2 (diff) | |
download | postgresql-9553b4115f1879f66935f42fff0b798ef91866d0.tar.gz postgresql-9553b4115f1879f66935f42fff0b798ef91866d0.zip |
Fix warning introduced in 5c279a6d350.
Change two macros to be static inline functions instead to keep the
data type consistent. This avoids a "comparison is always true"
warning that was occurring with -Wtype-limits. In the process, change
the names to look less like macros.
Discussion: https://postgr.es/m/20220407063505.njnnrmbn4sxqfsts@alap3.anarazel.de
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions