Adjust operation names of pg_aios to match the documentation

Michael Paquier <michael@paquier.xyz>

Commit: 3d0c3a418fc2448a156164a96804dd6d7c8516fe
Author: Michael Paquier <michael@paquier.xyz>
Date: 2025-05-21T06:58:03Z
Releases: 18.0
Adjust operation names of pg_aios to match the documentation

pg_aios used the terms "read" and "write" for vectored I/O read and
write operations, respectively.  The documentation refers to them as
"readv" and "writev", and the code uses internally the terms
PGAIO_OP_READV and PGAIO_OP_WRITEV for them, as of "vectored".

This commit adjusts these operation names to match with the code and the
documentation.

Oversight in 8e293e689bab.

Author: Atsushi Torikoshi <torikoshia@oss.nttdata.com>
Discussion: https://postgr.es/m/6df1e949d1d759ad2767c18e5845963e@oss.nttdata.com

Files

PathChange+/−
src/backend/storage/aio/aio_io.c modified +2 −2

Discussion