diff options
| author | Peter Geoghegan <pg@bowt.ie> | 2022-09-19 16:46:23 -0700 |
|---|---|---|
| committer | Peter Geoghegan <pg@bowt.ie> | 2022-09-19 16:46:23 -0700 |
| commit | 4bac9600f09a9b9ba7daa3ba69495a877f51e6c3 (patch) | |
| tree | 393793229287ddc1973e73865a1f634415723971 /src/include/access/multixact.h | |
| parent | cb8ff7ed5ac907a4a574413f3e46a3522d7b164c (diff) | |
| download | postgresql-4bac9600f09a9b9ba7daa3ba69495a877f51e6c3.tar.gz | |
Harmonize heapam and tableam parameter names.
Make sure that function declarations use names that exactly match the
corresponding names from function definitions. Having parameter names
that are reliably consistent in this way will make it easier to reason
about groups of related C functions from the same translation unit as a
module. It will also make certain refactoring tasks easier.
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/multixact.h')
| -rw-r--r-- | src/include/access/multixact.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/access/multixact.h b/src/include/access/multixact.h index a5600a320a..4cbe17de7b 100644 --- a/src/include/access/multixact.h +++ b/src/include/access/multixact.h @@ -112,8 +112,8 @@ extern MultiXactId ReadNextMultiXactId(void); extern void ReadMultiXactIdRange(MultiXactId *oldest, MultiXactId *next); extern bool MultiXactIdIsRunning(MultiXactId multi, bool isLockOnly); extern void MultiXactIdSetOldestMember(void); -extern int GetMultiXactIdMembers(MultiXactId multi, MultiXactMember **xids, - bool allow_old, bool isLockOnly); +extern int GetMultiXactIdMembers(MultiXactId multi, MultiXactMember **members, + bool from_pgupgrade, bool isLockOnly); extern bool MultiXactIdPrecedes(MultiXactId multi1, MultiXactId multi2); extern bool MultiXactIdPrecedesOrEquals(MultiXactId multi1, MultiXactId multi2); @@ -140,7 +140,8 @@ extern void MultiXactGetCheckptMulti(bool is_shutdown, Oid *oldestMultiDB); extern void CheckPointMultiXact(void); extern MultiXactId GetOldestMultiXactId(void); -extern void TruncateMultiXact(MultiXactId oldestMulti, Oid oldestMultiDB); +extern void TruncateMultiXact(MultiXactId newOldestMulti, + Oid newOldestMultiDB); extern void MultiXactSetNextMXact(MultiXactId nextMulti, MultiXactOffset nextMultiOffset); extern void MultiXactAdvanceNextMXact(MultiXactId minMulti, |
