pgsql: aio: Pass result of local callbacks to ->report_return - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: aio: Pass result of local callbacks to ->report_return
Date
Msg-id E1txXS1-0019E4-2u@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f321ec237a54912b28d81acc4bfc4e434d9339c7

Modified Files
--------------
src/backend/storage/aio/aio.c          | 22 +++++++++++-----------
src/backend/storage/aio/aio_callback.c | 13 ++++++++++---
src/include/storage/aio_internal.h     |  2 +-
3 files changed, 22 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: pg_overexplain: SET jit=off when running tests.
Next
From: Michael Paquier
Date:
Subject: pgsql: doc: Mention possible ephemeral discrepancies in pg_stat_activit