[COMMITTERS] pgsql: Change some test macros to return true booleans

2017-01-18 Thread Alvaro Herrera
Change some test macros to return true booleans These macros work fine when they are used directly in an "if" test or similar, but as soon as the return values are assigned to boolean variables (or passed as boolean arguments to some function), they become bugs, hopefully caught by compiler warnin

[COMMITTERS] pgsql: Change some test macros to return true booleans

2017-01-18 Thread Alvaro Herrera
Change some test macros to return true booleans These macros work fine when they are used directly in an "if" test or similar, but as soon as the return values are assigned to boolean variables (or passed as boolean arguments to some function), they become bugs, hopefully caught by compiler warnin

[COMMITTERS] pgsql: Change some test macros to return true booleans

2017-01-18 Thread Alvaro Herrera
Change some test macros to return true booleans These macros work fine when they are used directly in an "if" test or similar, but as soon as the return values are assigned to boolean variables (or passed as boolean arguments to some function), they become bugs, hopefully caught by compiler warnin

[COMMITTERS] pgsql: Change some test macros to return true booleans

2017-01-18 Thread Alvaro Herrera
Change some test macros to return true booleans These macros work fine when they are used directly in an "if" test or similar, but as soon as the return values are assigned to boolean variables (or passed as boolean arguments to some function), they become bugs, hopefully caught by compiler warnin

[COMMITTERS] pgsql: Change some test macros to return true booleans

2017-01-18 Thread Alvaro Herrera
Change some test macros to return true booleans These macros work fine when they are used directly in an "if" test or similar, but as soon as the return values are assigned to boolean variables (or passed as boolean arguments to some function), they become bugs, hopefully caught by compiler warnin

[COMMITTERS] pgsql: Change some test macros to return true booleans

2017-01-18 Thread Alvaro Herrera
Change some test macros to return true booleans These macros work fine when they are used directly in an "if" test or similar, but as soon as the return values are assigned to boolean variables (or passed as boolean arguments to some function), they become bugs, hopefully caught by compiler warnin