Adjust input value to WaitEventSetWait() in ExecAppendAsyncEventWait().
authorEtsuro Fujita <efujita@postgresql.org>
Tue, 6 Apr 2021 10:15:00 +0000 (19:15 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Tue, 6 Apr 2021 10:15:00 +0000 (19:15 +0900)
commita8af856d3257138590788e40eb84049def147acf
treeeeb65288b16414316a066276e2dec0d99156e9d2
parent82ed7748b710e3ddce3f7ebc74af80fe4869492f
Adjust input value to WaitEventSetWait() in ExecAppendAsyncEventWait().

Adjust the number of events given to WaitEventSetWait() so that it
doesn't exceed the maximum number of events in the WaitEventSet given
to that function (set->nevents_space) in hopes of making the buildfarm
green.

Per valgrind failure report from Tom Lane and the buildfarm.

Author: Etsuro Fujita
Discussion: https://postgr.es/m/3411577.1617289776%40sss.pgh.pa.us
src/backend/executor/nodeAppend.c