diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-04-12 10:16:49 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-04-12 10:16:49 +0900 |
commit | d527fda6216780281b90f48820ae978c61c7905c (patch) | |
tree | 3563030ccc2a229701963fa6f13e6e12e5a1b78e /src/backend/utils/adt/pgstatfuncs.c | |
parent | 798070ec058fe75757587c9e9916cc35c623f427 (diff) | |
download | postgresql-d527fda6216780281b90f48820ae978c61c7905c.tar.gz postgresql-d527fda6216780281b90f48820ae978c61c7905c.zip |
Fix more strcmp() calls using boolean-like comparisons for result checks
Such calls can confuse the reader as strcmp() uses an integer as result.
The places patched here have been spotted by Thomas Munro, David Rowley
and myself.
Author: Michael Paquier
Reviewed-by: David Rowley
Discussion: https://postgr.es/m/20190411021946.GG2728@paquier.xyz
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions