Use logical operator && instead of & in vacuumparallel.c.

Amit Kapila <akapila@postgresql.org>

Commit: 254d79f0b23dfe107594c90ee8375165422db2c4
Author: Amit Kapila <akapila@postgresql.org>
Date: 2022-08-22T03:21:25Z
Releases: 15.0
Use logical operator && instead of & in vacuumparallel.c.

As such the current usage of & won't produce incorrect results but it
would be better to use && to short-circuit the evaluation of second
condition when the same is not required.

Author: Ranier Vilela
Reviewed-by: Tom Lane, Bharath Rupireddy
Backpatch-through: 15, where it was introduced
Discussion: https://postgr.es/m/CAEudQApL8QcoYwQuutkWKY_h7gBY8F0Xs34YKfc7-G0i83K_pw@mail.gmail.com

Files

PathChange+/−
src/backend/commands/vacuumparallel.c modified +1 −1

Discussion