Re: Injection points: some tools to wait and wake - Mailing list pgsql-hackers

From Andrey M. Borodin
Subject Re: Injection points: some tools to wait and wake
Date
Msg-id 292360F7-B775-4071-BC54-633F2D4B893A@yandex-team.ru
Whole thread Raw
In response to Re: Injection points: some tools to wait and wake  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Injection points: some tools to wait and wake
List pgsql-hackers

> On 28 Feb 2024, at 09:26, Michael Paquier <michael@paquier.xyz> wrote:
>
> Now, a routine should be only about waiting on
> pg_stat_activity to report something

BTW, if we had an SQL function such as injection_point_await(name), we could use it in our isolation tests as well as
ourTAP tests :) 
However, this might well be a future improvement, if we had a generic “await" Perl function - we wouldn’t need to
re-usenew SQL code in so many places. 

Thanks!


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: Improve readability by using designated initializers when possible
Next
From: Amit Kapila
Date:
Subject: Re: Improve eviction algorithm in ReorderBuffer