Re: pgsql: Add TAP tests for timeouts - Mailing list pgsql-committers

From Andrey M. Borodin
Subject Re: pgsql: Add TAP tests for timeouts
Date
Msg-id 91C963B5-63CC-4FAE-9119-E226CF84112A@yandex-team.ru
Whole thread Raw
In response to Re: pgsql: Add TAP tests for timeouts  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: pgsql: Add TAP tests for timeouts
List pgsql-committers

> On 15 Mar 2024, at 15:44, Alexander Korotkov <aekorotkov@gmail.com> wrote:
>
>  We loop in the interrupt checking, given that the injection point handler checks for interrupts internally.  I
proposeto unset the timeout flag before the injection point (see the attached patch). 

Oh, cool.
As far as I understand, this is only necessary for the test with injection point.
So, maybe unset it only when injection points are enabled? Something like this is already used in GIN.

#ifdef USE_INJECTION_POINTS
....
#endif


Best regards, Andrey Borodin.


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Improve log messages referring to background worker processes
Next
From: Alexander Korotkov
Date:
Subject: Re: pgsql: Add TAP tests for timeouts