summaryrefslogtreecommitdiff
path: root/src/include/storage/aio_internal.h
diff options
context:
space:
mode:
authorAndres Freund2025-03-26 20:06:54 +0000
committerAndres Freund2025-03-26 20:06:54 +0000
commitf321ec237a54912b28d81acc4bfc4e434d9339c7 (patch)
tree1195dca27d47a700c158e85cddfb979b1a696d45 /src/include/storage/aio_internal.h
parent96da9050a57aece4a48ab34a84bc3b3412708a20 (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.h2
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);