Fix typo with logical connector (src/backend/commands/vacuumparallel.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Fix typo with logical connector (src/backend/commands/vacuumparallel.c)
Date
Msg-id CAEudQApL8QcoYwQuutkWKY_h7gBY8F0Xs34YKfc7-G0i83K_pw@mail.gmail.com
Whole thread Raw
Responses Re: Fix typo with logical connector (src/backend/commands/vacuumparallel.c)
Re: Fix typo with logical connector (src/backend/commands/vacuumparallel.c)
List pgsql-hackers
Hi,

At function parallel_vacuum_process_all_indexes there is
a typo with a logical connector.

I think that correct is &&, because both of the operators are
bool types [1].

As a result, parallel vacuum workers can be incorrectly enabled.

Attached a trivial fix.

regards,
Ranier Vilela

Attachment

pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: pg_receivewal and SIGTERM
Next
From: Bharath Rupireddy
Date:
Subject: Re: Fix typo with logical connector (src/backend/commands/vacuumparallel.c)