mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Harmonize function parameter names for Postgres 18.
Make sure that function declarations use names that exactly match the
corresponding names from function definitions in a few places. These
inconsistencies were all introduced during Postgres 18 development.
This commit was written with help from clang-tidy, by mechanically
applying the same rules as similar clean-up commits (the earliest such
commit was commit 035ce1fe
).
This commit is contained in:
@ -397,7 +397,7 @@ static bool ATExecAlterConstraintInternal(List **wqueue, ATAlterConstraint *cmdc
|
||||
bool recurse, LOCKMODE lockmode);
|
||||
static bool ATExecAlterConstrEnforceability(List **wqueue, ATAlterConstraint *cmdcon,
|
||||
Relation conrel, Relation tgrel,
|
||||
const Oid fkrelid, const Oid pkrelid,
|
||||
Oid fkrelid, Oid pkrelid,
|
||||
HeapTuple contuple, LOCKMODE lockmode,
|
||||
Oid ReferencedParentDelTrigger,
|
||||
Oid ReferencedParentUpdTrigger,
|
||||
@ -415,7 +415,7 @@ static void AlterConstrTriggerDeferrability(Oid conoid, Relation tgrel, Relation
|
||||
List **otherrelids);
|
||||
static void AlterConstrEnforceabilityRecurse(List **wqueue, ATAlterConstraint *cmdcon,
|
||||
Relation conrel, Relation tgrel,
|
||||
const Oid fkrelid, const Oid pkrelid,
|
||||
Oid fkrelid, Oid pkrelid,
|
||||
HeapTuple contuple, LOCKMODE lockmode,
|
||||
Oid ReferencedParentDelTrigger,
|
||||
Oid ReferencedParentUpdTrigger,
|
||||
@ -503,7 +503,7 @@ static ObjectAddress ATExecDropNotNull(Relation rel, const char *colName, bool r
|
||||
static void set_attnotnull(List **wqueue, Relation rel, AttrNumber attnum,
|
||||
bool is_valid, bool queue_validation);
|
||||
static ObjectAddress ATExecSetNotNull(List **wqueue, Relation rel,
|
||||
char *constrname, char *colName,
|
||||
char *conName, char *colName,
|
||||
bool recurse, bool recursing,
|
||||
LOCKMODE lockmode);
|
||||
static bool NotNullImpliedByRelConstraints(Relation rel, Form_pg_attribute attr);
|
||||
@ -733,7 +733,7 @@ static ObjectAddress ATExecAttachPartitionIdx(List **wqueue, Relation parentIdx,
|
||||
static void validatePartitionedIndex(Relation partedIdx, Relation partedTbl);
|
||||
static void refuseDupeIndexAttach(Relation parentIdx, Relation partIdx,
|
||||
Relation partitionTbl);
|
||||
static void verifyPartitionIndexNotNull(IndexInfo *iinfo, Relation partIdx);
|
||||
static void verifyPartitionIndexNotNull(IndexInfo *iinfo, Relation partition);
|
||||
static List *GetParentedForeignKeyRefs(Relation partition);
|
||||
static void ATDetachCheckNoForeignKeyRefs(Relation partition);
|
||||
static char GetAttributeCompression(Oid atttypid, const char *compression);
|
||||
|
Reference in New Issue
Block a user