diff options
author | Andres Freund | 2025-03-26 20:06:54 +0000 |
---|---|---|
committer | Andres Freund | 2025-03-26 20:06:54 +0000 |
commit | f321ec237a54912b28d81acc4bfc4e434d9339c7 (patch) | |
tree | 1195dca27d47a700c158e85cddfb979b1a696d45 /src/include/storage/aio_internal.h | |
parent | 96da9050a57aece4a48ab34a84bc3b3412708a20 (diff) |
aio: Pass result of local callbacks to ->report_return
Otherwise the results of e.g. temp table buffer verification errors will not
reach bufmgr.c. Obviously that's not right. Found while expanding the tests
for invalid buffer contents.
Reviewed-by: Noah Misch <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/include/storage/aio_internal.h')
-rw-r--r-- | src/include/storage/aio_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/aio_internal.h b/src/include/storage/aio_internal.h index 108fe61c7b4..d5f64416870 100644 --- a/src/include/storage/aio_internal.h +++ b/src/include/storage/aio_internal.h @@ -309,7 +309,7 @@ extern void pgaio_shutdown(int code, Datum arg); /* aio_callback.c */ extern void pgaio_io_call_stage(PgAioHandle *ioh); extern void pgaio_io_call_complete_shared(PgAioHandle *ioh); -extern void pgaio_io_call_complete_local(PgAioHandle *ioh); +extern PgAioResult pgaio_io_call_complete_local(PgAioHandle *ioh); /* aio_io.c */ extern void pgaio_io_perform_synchronously(PgAioHandle *ioh); |