public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andres Freund <[email protected]>
To: [email protected]
Subject: pgsql: aio: Pass result of local callbacks to ->report_return
Date: Wed, 26 Mar 2025 20:34:13 +0000
Message-ID: <[email protected]> (raw)

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]

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(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: aio: Pass result of local callbacks to ->report_return
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox