mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
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
This commit is contained in:
@ -125,9 +125,9 @@ static bool have_createdb_privilege(void);
|
||||
static void remove_dbtablespaces(Oid db_id);
|
||||
static bool check_db_file_conflict(Oid db_id);
|
||||
static int errdetail_busy_db(int notherbackends, int npreparedxacts);
|
||||
static void CreateDatabaseUsingWalLog(Oid src_dboid, Oid dboid, Oid src_tsid,
|
||||
static void CreateDatabaseUsingWalLog(Oid src_dboid, Oid dst_dboid, Oid src_tsid,
|
||||
Oid dst_tsid);
|
||||
static List *ScanSourceDatabasePgClass(Oid srctbid, Oid srcdbid, char *srcpath);
|
||||
static List *ScanSourceDatabasePgClass(Oid tbid, Oid dbid, char *srcpath);
|
||||
static List *ScanSourceDatabasePgClassPage(Page page, Buffer buf, Oid tbid,
|
||||
Oid dbid, char *srcpath,
|
||||
List *rlocatorlist, Snapshot snapshot);
|
||||
@ -136,8 +136,8 @@ static CreateDBRelInfo *ScanSourceDatabasePgClassTuple(HeapTupleData *tuple,
|
||||
char *srcpath);
|
||||
static void CreateDirAndVersionFile(char *dbpath, Oid dbid, Oid tsid,
|
||||
bool isRedo);
|
||||
static void CreateDatabaseUsingFileCopy(Oid src_dboid, Oid dboid, Oid src_tsid,
|
||||
Oid dst_tsid);
|
||||
static void CreateDatabaseUsingFileCopy(Oid src_dboid, Oid dst_dboid,
|
||||
Oid src_tsid, Oid dst_tsid);
|
||||
static void recovery_create_dbdir(char *path, bool only_tblspc);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user