[PATCH] remove condition always true (/src/backend/access/heap/vacuumlazy.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject [PATCH] remove condition always true (/src/backend/access/heap/vacuumlazy.c)
Date
Msg-id CAEudQAqrB_Hz6q4vC43mBPBoqoQYvS_+=QG1c9bVhrcWYjQ6dw@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] remove condition always true(/src/backend/access/heap/vacuumlazy.c)
List pgsql-hackers
Hi,
I'm not sure that the patch is 100% correct.
But the fix is about expression about always true.
But if this patch is correct, he fix one possible bug.

The comment says:
* Perform checking of FSM after releasing lock, the fsm is
* approximate, after all.

But this is not what the code does, apparently it checks before unlocking.

best regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Alexey Kondratov
Date:
Subject: Re: Allow CLUSTER, VACUUM FULL and REINDEX to change tablespace onthe fly
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Improve handling of parameter differences in physicalreplicatio