aboutsummaryrefslogtreecommitdiff
path: root/src/tools/pgindent
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2025-07-12 13:43:27 +1200
committerThomas Munro <tmunro@postgresql.org>2025-07-12 14:44:09 +1200
commit01d618bcd782b7984a4289fef25867c681f3ebbf (patch)
treedb204551644b422a220eb4b8404656c0af3e7333 /src/tools/pgindent
parent40e105042a4bec83ad8bc39e54edde2caf68d6a8 (diff)
downloadpostgresql-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.list6
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