Re: Injection points: some tools to wait and wake

Поиск
Список
Период
Сортировка
Искать
От
Bertrand Drouvot
Тема
Re: Injection points: some tools to wait and wake
Дата
Msg-id
Zd7Quc2JXdUg2tar@ip-10-97-1-34.eu-west-3.compute.internal
Ответ на
Список
Дерево обсуждения
Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Injection points: some tools to wait and wake "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Re: Injection points: some tools to wait and wake Michael Paquier <michael@paquier.xyz>
Re: Injection points: some tools to wait and wake Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Hi,

On Wed, Feb 28, 2024 at 01:26:46PM +0900, Michael Paquier wrote:
> On Tue, Feb 27, 2024 at 01:39:59PM +0000, Bertrand Drouvot wrote:
> > So, I'm ok with the new helper too.
> 
> If both of you feel strongly about that, I'm OK with introducing
> something like that.

Thanks!

>  Now, a routine should be only about waiting on
> pg_stat_activity to report something, as for the logs we already have
> log_contains().

Agree.

> And a test may want one check, but unlikely both.
> Even if both are wanted, it's just a matter of using log_contains()
> and the new routine that does pg_stat_activity lookups.

Yeah, that's also my point of view.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com


В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Bertrand Drouvot
Дата:
FAQ