aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xloginsert.h
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2022-09-19 19:18:36 -0700
committerPeter Geoghegan <pg@bowt.ie>2022-09-19 19:18:36 -0700
commitbfcf1b34805f70df48eedeec237230d0cc1154a6 (patch)
treebaf824c317ecf02c49d758e75e72d69c5b6a4ec6 /src/include/access/xloginsert.h
parentc47885bd8b6997ccb0cc1997f61f6f98a79ce32a (diff)
downloadpostgresql-bfcf1b34805f70df48eedeec237230d0cc1154a6.tar.gz
postgresql-bfcf1b34805f70df48eedeec237230d0cc1154a6.zip
Harmonize parameter names in storage and AM code.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in storage, catalog, access method, executor, and logical replication code, as well as in miscellaneous utility/library code. Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Later commits will do the same for other parts of the codebase. Author: Peter Geoghegan <pg@bowt.ie> Reviewed-By: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
Diffstat (limited to 'src/include/access/xloginsert.h')
-rw-r--r--src/include/access/xloginsert.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/access/xloginsert.h b/src/include/access/xloginsert.h
index aed4643d1c5..001ff2f5210 100644
--- a/src/include/access/xloginsert.h
+++ b/src/include/access/xloginsert.h
@@ -52,12 +52,12 @@ extern void XLogRegisterBufData(uint8 block_id, char *data, uint32 len);
extern void XLogResetInsertion(void);
extern bool XLogCheckBufferNeedsBackup(Buffer buffer);
-extern XLogRecPtr log_newpage(RelFileLocator *rlocator, ForkNumber forkNum,
- BlockNumber blk, char *page, bool page_std);
-extern void log_newpages(RelFileLocator *rlocator, ForkNumber forkNum, int num_pages,
+extern XLogRecPtr log_newpage(RelFileLocator *rlocator, ForkNumber forknum,
+ BlockNumber blkno, char *page, bool page_std);
+extern void log_newpages(RelFileLocator *rlocator, ForkNumber forknum, int num_pages,
BlockNumber *blknos, char **pages, bool page_std);
extern XLogRecPtr log_newpage_buffer(Buffer buffer, bool page_std);
-extern void log_newpage_range(Relation rel, ForkNumber forkNum,
+extern void log_newpage_range(Relation rel, ForkNumber forknum,
BlockNumber startblk, BlockNumber endblk, bool page_std);
extern XLogRecPtr XLogSaveBufferForHint(Buffer buffer, bool buffer_std);