pgsql: Adjust operation names of pg_aios to match the documentation

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Adjust operation names of pg_aios to match the documentation
Date: 2025-05-21 06:58:23
Message-ID: E1uHdPD-0004we-0V@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)oss(dot)nttdata(dot)com>
Discussion: https://postgr.es/m/6df1e949d1d759ad2767c18e5845963e@oss.nttdata.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3d0c3a418fc2448a156164a96804dd6d7c8516fe

Modified Files
--------------
src/backend/storage/aio/aio_io.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-05-21 14:41:47 pgsql: doc: Move documentation of md5_password_warnings to a better pla
Previous Message Fujii Masao 2025-05-21 02:58:16 pgsql: Fix incorrect WAL description for PREPARE TRANSACTION record.