aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer/bufmgr.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2025-04-12 12:07:36 -0400
committerPeter Geoghegan <pg@bowt.ie>2025-04-12 12:07:36 -0400
commita6cab6a78ee58356967a447fa2c6414732856986 (patch)
treecdad19ce29445a4b3c53a041d3f113ae7d61db61 /src/backend/storage/buffer/bufmgr.c
parentfdb69dd582427e4976897d544867e65a0e767002 (diff)
downloadpostgresql-a6cab6a78ee58356967a447fa2c6414732856986.tar.gz
postgresql-a6cab6a78ee58356967a447fa2c6414732856986.zip
Harmonize function parameter names for Postgres 18.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in a few places. These inconsistencies were all introduced during Postgres 18 development. This commit was written with help from clang-tidy, by mechanically applying the same rules as similar clean-up commits (the earliest such commit was commit 035ce1fe).
Diffstat (limited to 'src/backend/storage/buffer/bufmgr.c')
-rw-r--r--src/backend/storage/buffer/bufmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c
index db8f2b1754e..0b0e056eea2 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -527,7 +527,7 @@ static inline BufferDesc *BufferAlloc(SMgrRelation smgr,
BlockNumber blockNum,
BufferAccessStrategy strategy,
bool *foundPtr, IOContext io_context);
-static bool AsyncReadBuffers(ReadBuffersOperation *operation, int *nblocks);
+static bool AsyncReadBuffers(ReadBuffersOperation *operation, int *nblocks_progress);
static void CheckReadBuffersOperation(ReadBuffersOperation *operation, bool is_complete);
static Buffer GetVictimBuffer(BufferAccessStrategy strategy, IOContext io_context);
static void FlushBuffer(BufferDesc *buf, SMgrRelation reln,