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 ea35e34 commit efe3e12Copy full SHA for efe3e12
lsm3.c
@@ -971,11 +971,14 @@ lsm3_process_utility(PlannedStmt *plannedStmt,
971
}
972
for (int i = 0; i < 2; i++)
973
{
974
- ObjectAddress obj;
975
- obj.classId = RelationRelationId;
976
- obj.objectId = entry->top[i];
977
- obj.objectSubId = 0;
978
- add_exact_object_address(&obj, drop_objects);
+ if (entry->top[i])
+ {
+ ObjectAddress obj;
+ obj.classId = RelationRelationId;
+ obj.objectId = entry->top[i];
979
+ obj.objectSubId = 0;
980
+ add_exact_object_address(&obj, drop_objects);
981
+ }
982
983
drop_oids = lappend_oid(drop_oids, RelationGetRelid(index));
984
0 commit comments