pgsql: aio: Use runtime arguments with injections points in tests
В списке pgsql-committers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | pgsql: aio: Use runtime arguments with injections points in tests |
| Дата | |
| Msg-id | E1uDb1m-00111P-0Y@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
aio: Use runtime arguments with injections points in tests This cleans up the code related to the testing infrastructure of AIO that used injection points, switching the test code to use the new facility for injection points added by 371f2db8b05e rather than tweaks to pass and reset arguments to the callbacks run. This removes all the dependencies to USE_INJECTION_POINTS in the AIO code. pgaio_io_call_inj(), pgaio_inj_io_get() and pgaio_inj_cur_handle are now gone. Reviewed-by: Greg Burd <greg@burd.me> Discussion: https://postgr.es/m/Z_y9TtnXubvYAApS@paquier.xyz Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c259ba881c1098e75b53d5b232600b49e3301058 Modified Files -------------- src/backend/storage/aio/aio.c | 58 ++------------------------------- src/backend/storage/aio/method_worker.c | 3 +- src/include/storage/aio_internal.h | 20 ------------ src/test/modules/test_aio/test_aio.c | 4 +-- 4 files changed, 5 insertions(+), 80 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера