> On 28 Feb 2024, at 09:26, Michael Paquier <michael(at)paquier(dot)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 our TAP tests :)
However, this might well be a future improvement, if we had a generic “await" Perl function - we wouldn’t need to re-use new SQL code in so many places.
Thanks!
Best regards, Andrey Borodin.