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

Commit6b8b536

Browse files
committed
Small code simplification for REINDEX CONCURRENTLY
This was left over from an earlier code structure.
1 parent173268f commit6b8b536

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/backend/commands/indexcmds.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3106,13 +3106,13 @@ ReindexRelationConcurrently(Oid relationOid, int options)
31063106
foreach(lc,indexIds)
31073107
{
31083108
OidoldIndexId=lfirst_oid(lc);
3109-
ObjectAddress*object=palloc(sizeof(ObjectAddress));
3109+
ObjectAddressobject;
31103110

3111-
object->classId=RelationRelationId;
3112-
object->objectId=oldIndexId;
3113-
object->objectSubId=0;
3111+
object.classId=RelationRelationId;
3112+
object.objectId=oldIndexId;
3113+
object.objectSubId=0;
31143114

3115-
add_exact_object_address(object,objects);
3115+
add_exact_object_address(&object,objects);
31163116
}
31173117

31183118
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp