diff options
author | Peter Geoghegan <pg@bowt.ie> | 2022-09-19 19:18:36 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2022-09-19 19:18:36 -0700 |
commit | bfcf1b34805f70df48eedeec237230d0cc1154a6 (patch) | |
tree | baf824c317ecf02c49d758e75e72d69c5b6a4ec6 /src/backend/access/transam/xlogreader.c | |
parent | c47885bd8b6997ccb0cc1997f61f6f98a79ce32a (diff) | |
download | postgresql-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/backend/access/transam/xlogreader.c')
-rw-r--r-- | src/backend/access/transam/xlogreader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c index 050d2f424e4..c1c9f1995bc 100644 --- a/src/backend/access/transam/xlogreader.c +++ b/src/backend/access/transam/xlogreader.c @@ -47,7 +47,7 @@ static bool allocate_recordbuf(XLogReaderState *state, uint32 reclength); static int ReadPageInternal(XLogReaderState *state, XLogRecPtr pageptr, int reqLen); static void XLogReaderInvalReadState(XLogReaderState *state); -static XLogPageReadResult XLogDecodeNextRecord(XLogReaderState *state, bool non_blocking); +static XLogPageReadResult XLogDecodeNextRecord(XLogReaderState *state, bool nonblocking); static bool ValidXLogRecordHeader(XLogReaderState *state, XLogRecPtr RecPtr, XLogRecPtr PrevRecPtr, XLogRecord *record, bool randAccess); static bool ValidXLogRecord(XLogReaderState *state, XLogRecord *record, |