aio: Remove obsolete IO worker ID references.
authorThomas Munro <tmunro@postgresql.org>
Sat, 12 Jul 2025 01:47:59 +0000 (13:47 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sat, 12 Jul 2025 02:44:22 +0000 (14:44 +1200)
commit177c1f05933890e0da82841bddf1ae4d1e085612
tree018296e05e68594986e934252851fa6f02c26082
parent01d618bcd782b7984a4289fef25867c681f3ebbf
aio: Remove obsolete IO worker ID references.

In an ancient ancestor of this code, the postmaster assigned IDs to IO
workers.  Now it tracks them in an unordered array and doesn't know
their IDs, so it might be confusing to readers that it still referred to
their indexes as IDs.

No change in behavior, just variable name and error message cleanup.

Back-patch to 18.

Discussion: http://postgr.es/m/CA%2BhUKG%2BwbaZZ9Nwc_bTopm4f-7vDmCwLk80uKDHj9mq%2BUp0E%2Bg%40mail.gmail.com
src/backend/postmaster/postmaster.c