We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 173268f commit 6b8b536Copy full SHA for 6b8b536
src/backend/commands/indexcmds.c
@@ -3106,13 +3106,13 @@ ReindexRelationConcurrently(Oid relationOid, int options)
3106
foreach(lc, indexIds)
3107
{
3108
Oid oldIndexId = lfirst_oid(lc);
3109
- ObjectAddress *object = palloc(sizeof(ObjectAddress));
+ ObjectAddress object;
3110
3111
- object->classId = RelationRelationId;
3112
- object->objectId = oldIndexId;
3113
- object->objectSubId = 0;
+ object.classId = RelationRelationId;
+ object.objectId = oldIndexId;
+ object.objectSubId = 0;
3114
3115
- add_exact_object_address(object, objects);
+ add_exact_object_address(&object, objects);
3116
}
3117
3118
/*
0 commit comments