Clean up more code using "(expr) ? true : false"

Michael Paquier <michael@paquier.xyz>

Commit: 68f7c4b57a27dbcd3e93ba3ff7b0b49664b25e09
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-10-11T00:36:42Z
Releases: 15.0
Clean up more code using "(expr) ? true : false"

This is similar to fd0625c, taking care of any remaining code paths that
are worth the cleanup.  This also changes some cases using opposite
expression patterns.

Author: Justin Pryzby, Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoCdF8dnUvr-BUWWGvA_XhKSoANacBMZb6jKyCk4TYfQ2Q@mail.gmail.com

Files

Discussion