Re: isolation tester limitation in case of multiple injection points in a single command

Поиск
Список
Период
Сортировка
От Mihail Nikalayeu
Тема Re: isolation tester limitation in case of multiple injection points in a single command
Дата
Msg-id CADzfLwUup8U3a-fXrDiQwQkan1pmJwcybPe45Sn1Yf1v49ZeYA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: isolation tester limitation in case of multiple injection points in a single command  (Mihail Nikalayeu <mihailnikalayeu@gmail.com>)
Ответы Re: isolation tester limitation in case of multiple injection points in a single command
Список pgsql-hackers
Hello, Michael!

Currently injection_point.c says [0]:

> /*
> * Allocate and register a new injection point.  A new point should not
> * exist.  For testing purposes this should be fine.
> */

What if we extend that limitation to allow registration of different
types for the same injection point? Like 'wait' and 'notice' (tol be
executed in order they registered).
It feels like a pretty simple solution and covers my needs.

Best regards,
Mikhail.

[0]:
https://github.com/postgres/postgres/blob/7b2eb72b1b8ce4279e42848a3978e781ae239355/src/backend/utils/misc/injection_point.c#L298-L301



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