diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-04-19 18:53:35 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-04-19 18:53:35 +0900 |
commit | 114f7fa81c72637d75b574269f2076dcc1104e24 (patch) | |
tree | 0bf4cd03412f0d730451835de52c43be8713ce17 /src/backend/storage/aio/method_worker.c | |
parent | 3aad76a0a970faf22ea38dd61b5668d480b5a92f (diff) | |
download | postgresql-114f7fa81c72637d75b574269f2076dcc1104e24.tar.gz postgresql-114f7fa81c72637d75b574269f2076dcc1104e24.zip |
Rename injection points used in AIO tests
The format of the injection point names used by the AIO code does not
match the existing naming convention used everywhere else in the code,
so let's be consistent. These points are used in test_aio.
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Discussion: https://postgr.es/m/Z_yTB80bdu1sYDqJ@paquier.xyz
Diffstat (limited to 'src/backend/storage/aio/method_worker.c')
-rw-r--r-- | src/backend/storage/aio/method_worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/aio/method_worker.c b/src/backend/storage/aio/method_worker.c index 8ad17ec1ef7..0fde2a5b30d 100644 --- a/src/backend/storage/aio/method_worker.c +++ b/src/backend/storage/aio/method_worker.c @@ -525,7 +525,7 @@ IoWorkerMain(const void *startup_data, size_t startup_data_len) * To be able to exercise the reopen-fails path, allow injection * points to trigger a failure at this point. */ - pgaio_io_call_inj(ioh, "AIO_WORKER_AFTER_REOPEN"); + pgaio_io_call_inj(ioh, "aio-worker-after-reopen"); error_errno = 0; error_ioh = NULL; |