Use logical operator && instead of & in vacuumparallel.c.
authorAmit Kapila <[email protected]>
Mon, 22 Aug 2022 03:23:58 +0000 (08:53 +0530)
committerAmit Kapila <[email protected]>
Mon, 22 Aug 2022 03:23:58 +0000 (08:53 +0530)
commit838f798f172d509f022841b82277ec84d108a379
treee934d82f03141766e6fbe7f7931d5061385b67ed
parent49e525a08fcb42c05dc27bd0bc36aa491becc55f
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
src/backend/commands/vacuumparallel.c