mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
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 <noah@leadboat.com> Discussion: https://postgr.es/m/20250326001915.bc.nmisch@google.com
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user