The "wal_debug" GUC variable was of type "integer", but it was used inthe code effectively as a boolean: the code only tested whether it waszero or non-zero. This patch makes it a proper boolean.
-Neil