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/tableam.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/tableam.h')
| -rw-r--r-- | src/include/access/tableam.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h index ffe265d2a1..e45d73eae3 100644 --- a/src/include/access/tableam.h +++ b/src/include/access/tableam.h @@ -863,13 +863,13 @@ typedef struct TableAmRoutine * for the relation. Works for tables, views, foreign tables and partitioned * tables. */ -extern const TupleTableSlotOps *table_slot_callbacks(Relation rel); +extern const TupleTableSlotOps *table_slot_callbacks(Relation relation); /* * Returns slot using the callbacks returned by table_slot_callbacks(), and * registers it on *reglist. */ -extern TupleTableSlot *table_slot_create(Relation rel, List **reglist); +extern TupleTableSlot *table_slot_create(Relation relation, List **reglist); /* ---------------------------------------------------------------------------- @@ -895,7 +895,7 @@ table_beginscan(Relation rel, Snapshot snapshot, * Like table_beginscan(), but for scanning catalog. It'll automatically use a * snapshot appropriate for scanning catalog relations. */ -extern TableScanDesc table_beginscan_catalog(Relation rel, int nkeys, +extern TableScanDesc table_beginscan_catalog(Relation relation, int nkeys, struct ScanKeyData *key); /* @@ -1133,7 +1133,7 @@ extern void table_parallelscan_initialize(Relation rel, * * Caller must hold a suitable lock on the relation. */ -extern TableScanDesc table_beginscan_parallel(Relation rel, +extern TableScanDesc table_beginscan_parallel(Relation relation, ParallelTableScanDesc pscan); /* |
