Hi Andrey, Paul,

I tested v9 on master (5681f0cfa5a). It builds without warnings with
assertions enabled. I ran the same scenario as the new 039 test: pad WAL
until the insert position is 24 bytes before a segment boundary, then call
pg_switch_wal(). With v9, pg_switch_wal() returns the boundary, and the log
shows no "request to flush past end of generated WAL" message. With the fix
reverted, the walwriter logs that message for boundary + 40 and then fails
Assert("Insert >= Write"). v8 gives the same results as v9.

+1 to v9 for master and v8 for the back branches. v9 applies to
REL_19_STABLE but not to REL_15 through REL_18, which lack
WALINSERT_SPECIAL_SWITCH, while v8 applies to all of them with git am -3.
So that split also keeps the back-patch mechanical.

I also agree with Paul about keeping v8's commit-message details.

Regards,
Surya Poondla

Reply via email to