pgsql: aio: Remove obsolete IO worker ID references. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: aio: Remove obsolete IO worker ID references.
Date
Msg-id E1uaQJF-005qvY-1d@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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: https://postgr.es/m/CA%2BhUKG%2BwbaZZ9Nwc_bTopm4f-7vDmCwLk80uKDHj9mq%2BUp0E%2Bg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/177c1f05933890e0da82841bddf1ae4d1e085612

Modified Files
--------------
src/backend/postmaster/postmaster.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Fix stale idle flag when IO workers exit.
Next
From: Thomas Munro
Date:
Subject: pgsql: aio: Regularize IO worker internal naming.