pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: aio: Regularize IO worker internal naming.
Date: Sat, 12 Jul 2025 02:50:10 +0000
Message-ID: <E1uaQJW-005qwH-0p@gemulon.postgresql.org> (raw)

aio: Regularize IO worker internal naming.

Adopt PgAioXXX convention for pgaio module type names.  Rename a
function that didn't use a pgaio_worker_ submodule prefix.  Rename the
internal submit function's arguments to match the indirectly relevant
function pointer declaration and nearby examples.  Rename the array of
handle IDs in PgAioSubmissionQueue to sqes, a term of art seen in the
systems it emulates, also clarifying that they're not IO handle
pointers as the old name might imply.

No change in behavior, just type, variable and function name cleanup.

Back-patch to 18.

Discussion: https://postgr.es/m/CA%2BhUKG%2BwbaZZ9Nwc_bTopm4f-7vDmCwLk80uKDHj9mq%2BUp0E%2Bg%40mail.gmail.com

Branch
------
REL_18_STABLE

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

Modified Files
--------------
src/backend/storage/aio/method_worker.c | 54 ++++++++++++++++-----------------
src/tools/pgindent/typedefs.list        |  6 ++--
2 files changed, 30 insertions(+), 30 deletions(-)



view thread (2+ messages)

Message-ID: <E1uaQJW-005qwH-0p@gemulon.postgresql.org>
Permalink:  ../E1uaQJW-005qwH-0p@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uaQJW-005qwH-0p@gemulon.postgresql.org

 · 

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: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: aio: Regularize IO worker internal naming.
  In-Reply-To: <E1uaQJW-005qwH-0p@gemulon.postgresql.org>

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

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