return;
/*
- * We assume the item requires exclusive lock on each TABLE item
- * listed among its dependencies.
+ * We assume the item requires exclusive lock on each TABLE DATA item
+ * listed among its dependencies. (This was originally a dependency
+ * on the TABLE, but fix_dependencies repointed it to the data item.
+ * Note that all the entry types we are interested in here are POST_DATA,
+ * so they will all have been changed this way.)
*/
lockids = (DumpId *) malloc(te->nDeps * sizeof(DumpId));
nlockids = 0;
DumpId depid = te->dependencies[i];
if (tocsByDumpId[depid - 1] &&
- strcmp(tocsByDumpId[depid - 1]->desc, "TABLE") == 0)
+ strcmp(tocsByDumpId[depid - 1]->desc, "TABLE DATA") == 0)
lockids[nlockids++] = depid;
}