summaryrefslogtreecommitdiff
path: root/src/include/storage/md.h
diff options
context:
space:
mode:
authorPeter Geoghegan2025-04-12 16:07:36 +0000
committerPeter Geoghegan2025-04-12 16:07:36 +0000
commita6cab6a78ee58356967a447fa2c6414732856986 (patch)
treecdad19ce29445a4b3c53a041d3f113ae7d61db61 /src/include/storage/md.h
parentfdb69dd582427e4976897d544867e65a0e767002 (diff)
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/include/storage/md.h')
-rw-r--r--src/include/storage/md.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/md.h b/src/include/storage/md.h
index f630b75446c..b563c27abf0 100644
--- a/src/include/storage/md.h
+++ b/src/include/storage/md.h
@@ -49,7 +49,7 @@ extern void mdwriteback(SMgrRelation reln, ForkNumber forknum,
BlockNumber blocknum, BlockNumber nblocks);
extern BlockNumber mdnblocks(SMgrRelation reln, ForkNumber forknum);
extern void mdtruncate(SMgrRelation reln, ForkNumber forknum,
- BlockNumber old_blocks, BlockNumber nblocks);
+ BlockNumber curnblk, BlockNumber nblocks);
extern void mdimmedsync(SMgrRelation reln, ForkNumber forknum);
extern void mdregistersync(SMgrRelation reln, ForkNumber forknum);
extern int mdfd(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, uint32 *off);