diff options
author | Thomas Munro <tmunro@postgresql.org> | 2025-07-12 13:43:27 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2025-07-12 14:44:09 +1200 |
commit | 01d618bcd782b7984a4289fef25867c681f3ebbf (patch) | |
tree | db204551644b422a220eb4b8404656c0af3e7333 /src/tools/pgindent | |
parent | 40e105042a4bec83ad8bc39e54edde2caf68d6a8 (diff) | |
download | postgresql-01d618bcd782b7984a4289fef25867c681f3ebbf.tar.gz postgresql-01d618bcd782b7984a4289fef25867c681f3ebbf.zip |
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
Diffstat (limited to 'src/tools/pgindent')
-rw-r--r-- | src/tools/pgindent/typedefs.list | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index 83192038571..ff050e93a50 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -55,9 +55,6 @@ AggStrategy AggTransInfo Aggref AggregateInstrumentation -AioWorkerControl -AioWorkerSlot -AioWorkerSubmissionQueue AlenState Alias AllocBlock @@ -2184,6 +2181,9 @@ PgAioTargetInfo PgAioUringCaps PgAioUringContext PgAioWaitRef +PgAioWorkerControl +PgAioWorkerSlot +PgAioWorkerSubmissionQueue PgArchData PgBackendGSSStatus PgBackendSSLStatus |