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

Michael Paquier <michael@paquier.xyz>

Commit: fd0625c7a9c679c0c1e896014b8f49a489c3a245
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-09-08T00:44:04Z
Releases: 15.0
Clean up some code using "(expr) ? true : false"

All the code paths simplified here were already using a boolean or used
an expression that led to zero or one, making the extra bits
unnecessary.

Author: Justin Pryzby
Reviewed-by: Tom Lane, Michael Paquier, Peter Smith
Discussion: https://postgr.es/m/20210428182936.GE27406@telsasoft.com

Files

Discussion