Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3d0c3a4

Browse files
committed
Adjust operation names of pg_aios to match the documentation
pg_aios used the terms "read" and "write" for vectored I/O read andwrite operations, respectively. The documentation refers to them as"readv" and "writev", and the code uses internally the termsPGAIO_OP_READV and PGAIO_OP_WRITEV for them, as of "vectored".This commit adjusts these operation names to match with the code and thedocumentation.Oversight in8e293e6.Author: Atsushi Torikoshi <torikoshia@oss.nttdata.com>Discussion:https://postgr.es/m/6df1e949d1d759ad2767c18e5845963e@oss.nttdata.com
1 parent0bd762e commit3d0c3a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/storage/aio/aio_io.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ pgaio_io_get_op_name(PgAioHandle *ioh)
181181
casePGAIO_OP_INVALID:
182182
return"invalid";
183183
casePGAIO_OP_READV:
184-
return"read";
184+
return"readv";
185185
casePGAIO_OP_WRITEV:
186-
return"write";
186+
return"writev";
187187
}
188188

189189
returnNULL;/* silence compiler */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp