Content-Length: 274426 | pFad | http://github.com/postgrespro/postgres/commit/6b8b5364ddd0e4d882562615c6b6c28638ade9f2
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
/*
Fetched URL: http://github.com/postgrespro/postgres/commit/6b8b5364ddd0e4d882562615c6b6c28638ade9f2
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments