Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitab3d8af

Browse files
committed
Sync declarations and definitions of two new tablecmds.c functions.
Buildfarm member drongo complained because the definitions of thesefunctions used "const Oid foo" where the forward declarations justhad "Oid foo". (I'm a bit surprised that drongo seems to be the onlycomplainant.) I chose to fix this by removing the "consts" because(a) I'm generally not a fan of using const that way, and (b) it wasa minority usage even within these two functions, let alone comparedto the rest of our code base.Oversight in commiteec0040, so no need for back-patch.
1 parent11ff192 commitab3d8af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12384,7 +12384,7 @@ ATExecAlterConstraintInternal(List **wqueue, ATAlterConstraint *cmdcon,
1238412384
static bool
1238512385
ATExecAlterConstrEnforceability(List **wqueue, ATAlterConstraint *cmdcon,
1238612386
Relation conrel, Relation tgrel,
12387-
constOid fkrelid, const Oid pkrelid,
12387+
Oid fkrelid, Oid pkrelid,
1238812388
HeapTuple contuple, LOCKMODE lockmode,
1238912389
Oid ReferencedParentDelTrigger,
1239012390
Oid ReferencedParentUpdTrigger,
@@ -12732,7 +12732,7 @@ AlterConstrTriggerDeferrability(Oid conoid, Relation tgrel, Relation rel,
1273212732
static void
1273312733
AlterConstrEnforceabilityRecurse(List **wqueue, ATAlterConstraint *cmdcon,
1273412734
Relation conrel, Relation tgrel,
12735-
constOid fkrelid, const Oid pkrelid,
12735+
Oid fkrelid, Oid pkrelid,
1273612736
HeapTuple contuple, LOCKMODE lockmode,
1273712737
Oid ReferencedParentDelTrigger,
1273812738
Oid ReferencedParentUpdTrigger,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp