index 772e5d438d170428d32c15dacd2a6fe102536271..14404646b1f34ff88828d9a90abbce399f42caad 100644 (file)
myself.objectId = HeapTupleGetOid(tuple);
myself.objectSubId = 0;
- /* In case we are updating a shell, delete any existing entries */
- deleteDependencyRecordsFor(myself.classId, myself.objectId, false);
+ /*
+ * In case we are updating a shell, delete any existing entries, except
+ * for extension membership which should remain the same.
+ */
+ deleteDependencyRecordsFor(myself.classId, myself.objectId, true);
deleteSharedDependencyRecordsFor(myself.classId, myself.objectId, 0);
/* Dependency on namespace */