Re: Extend injection_points_attach() to accept a user-defined function

Поиск
Список
Период
Сортировка
От Mihail Nikalayeu
Тема Re: Extend injection_points_attach() to accept a user-defined function
Дата
Msg-id CADzfLwUw7-2Om04xXxvcJ_OrpqiNV9SaBbKJNPJRRoCFegq8yQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Extend injection_points_attach() to accept a user-defined function  (Rahila Syed <rahilasyed90@gmail.com>)
Ответы Re: Extend injection_points_attach() to accept a user-defined function
Список pgsql-hackers
Hello!

I thought it may help me to implement some kind of notice+wait
required for [1] in order to stabilize the tests.

Is it possible to do something like this in the attached function?

    RAISE NOTICE 'going to wait';
    SELECT injection_points_run(some_point_with_wait"); -- wait called
inside injection point handler

Also, I think it is a good idea to add some tests to injection_points.sql.

Best regards,
Mikhail.

[1]:
https://www.postgresql.org/message-id/flat/CADzfLwWRVj7wDy4Qj3CJTuWy6fvv9TTDBTHsUjC7F1SAN0LpeA%40mail.gmail.com#52c7659bf9c8c5ff484e3b470a4cfb8a



В списке pgsql-hackers по дате отправления: