Fix more strcmp() calls using boolean-like comparisons for result checks

Michael Paquier <michael@paquier.xyz>

Commit: d527fda6216780281b90f48820ae978c61c7905c
Author: Michael Paquier <michael@paquier.xyz>
Date: 2019-04-12T01:16:49Z
Releases: 12.0
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

Files

Discussion