.owner = tbinfo->rolname,
.description = "TABLE DATA",
.section = SECTION_DATA,
+ .createStmt = "",
+ .dropStmt = "",
.copyStmt = copyStmt,
.deps = &(tbinfo->dobj.dumpId),
.nDeps = 1,
.description = "MATERIALIZED VIEW DATA",
.section = SECTION_POST_DATA,
.createStmt = q->data,
+ .dropStmt = "",
.deps = tdinfo->dobj.dependencies,
.nDeps = tdinfo->dobj.nDeps));
.description = "COMMENT",
.section = SECTION_NONE,
.createStmt = dbQry->data,
+ .dropStmt = "",
.deps = &dbDumpId,
.nDeps = 1));
}
.description = "SECURITY LABEL",
.section = SECTION_NONE,
.createStmt = seclabelQry->data,
+ .dropStmt = "",
.deps = &dbDumpId,
.nDeps = 1));
destroyPQExpBuffer(seclabelQry);
ArchiveEntry(fout, nilCatalogId, createDumpId(),
ARCHIVE_OPTS(.tag = "pg_largeobject",
.description = "pg_largeobject",
+ .owner = "",
.section = SECTION_PRE_DATA,
- .createStmt = loOutQry->data));
+ .createStmt = loOutQry->data,
+ .dropStmt = ""));
PQclear(lo_res);
ArchiveEntry(AH, nilCatalogId, createDumpId(),
ARCHIVE_OPTS(.tag = "ENCODING",
.description = "ENCODING",
+ .owner = "",
.section = SECTION_PRE_DATA,
- .createStmt = qry->data));
+ .createStmt = qry->data,
+ .dropStmt = ""));
destroyPQExpBuffer(qry);
}
ArchiveEntry(AH, nilCatalogId, createDumpId(),
ARCHIVE_OPTS(.tag = "STDSTRINGS",
.description = "STDSTRINGS",
+ .owner = "",
.section = SECTION_PRE_DATA,
- .createStmt = qry->data));
+ .createStmt = qry->data,
+ .dropStmt = ""));
destroyPQExpBuffer(qry);
}
ArchiveEntry(AH, nilCatalogId, createDumpId(),
ARCHIVE_OPTS(.tag = "SEARCHPATH",
.description = "SEARCHPATH",
+ .owner = "",
.section = SECTION_PRE_DATA,
- .createStmt = qry->data));
+ .createStmt = qry->data,
+ .dropStmt = ""));
/* Also save it in AH->searchpath, in case we're doing plain text dump */
AH->searchpath = pg_strdup(qry->data);
.description = "ROW SECURITY",
.section = SECTION_POST_DATA,
.createStmt = query->data,
+ .dropStmt = "",
.deps = &(tbinfo->dobj.dumpId),
.nDeps = 1));
ARCHIVE_OPTS(.tag = tag,
.namespace = tbinfo->dobj.namespace->dobj.name,
.description = "PUBLICATION TABLE",
+ .owner = "",
.section = SECTION_POST_DATA,
- .createStmt = query->data));
+ .createStmt = query->data,
+ .dropStmt = ""));
free(tag);
destroyPQExpBuffer(query);
.description = "COMMENT",
.section = SECTION_NONE,
.createStmt = query->data,
+ .dropStmt = "",
.deps = &dumpId,
.nDeps = 1));
.description = "COMMENT",
.section = SECTION_NONE,
.createStmt = query->data,
+ .dropStmt = "",
.deps = &(tbinfo->dobj.dumpId),
.nDeps = 1));
}
.description = "COMMENT",
.section = SECTION_NONE,
.createStmt = query->data,
+ .dropStmt = "",
.deps = &(tbinfo->dobj.dumpId),
.nDeps = 1));
}
te = ArchiveEntry(fout, dobj->catId, dobj->dumpId,
ARCHIVE_OPTS(.tag = dobj->name,
.description = "BLOBS",
+ .owner = "",
.section = SECTION_DATA,
- .dumpFn = dumpBlobs));
+ .dumpFn = dumpBlobs,
+ .createStmt = "",
+ .dropStmt = ""));
/*
* Set the TocEntry's dataLength in case we are doing a
ArchiveEntry(fout, extinfo->dobj.catId, extinfo->dobj.dumpId,
ARCHIVE_OPTS(.tag = extinfo->dobj.name,
.description = "EXTENSION",
+ .owner = "",
.section = SECTION_PRE_DATA,
.createStmt = q->data,
.dropStmt = delq->data));
.description = "COMMENT",
.section = SECTION_NONE,
.createStmt = query->data,
+ .dropStmt = "",
.deps = &(tyinfo->dobj.dumpId),
.nDeps = 1));
}
.owner = stinfo->baseType->rolname,
.description = "SHELL TYPE",
.section = SECTION_PRE_DATA,
- .createStmt = q->data));
+ .createStmt = q->data,
+ .dropStmt = ""));
destroyPQExpBuffer(q);
}
ArchiveEntry(fout, cast->dobj.catId, cast->dobj.dumpId,
ARCHIVE_OPTS(.tag = labelq->data,
.description = "CAST",
+ .owner = "",
.section = SECTION_PRE_DATA,
.createStmt = defqry->data,
.dropStmt = delqry->data));
ArchiveEntry(fout, transform->dobj.catId, transform->dobj.dumpId,
ARCHIVE_OPTS(.tag = labelq->data,
.description = "TRANSFORM",
+ .owner = "",
.section = SECTION_PRE_DATA,
.createStmt = defqry->data,
.dropStmt = delqry->data,
ArchiveEntry(fout, aminfo->dobj.catId, aminfo->dobj.dumpId,
ARCHIVE_OPTS(.tag = aminfo->dobj.name,
.description = "ACCESS METHOD",
+ .owner = "",
.section = SECTION_PRE_DATA,
.createStmt = q->data,
.dropStmt = delq->data));
ARCHIVE_OPTS(.tag = prsinfo->dobj.name,
.namespace = prsinfo->dobj.namespace->dobj.name,
.description = "TEXT SEARCH PARSER",
+ .owner = "",
.section = SECTION_PRE_DATA,
.createStmt = q->data,
.dropStmt = delq->data));
ARCHIVE_OPTS(.tag = tmplinfo->dobj.name,
.namespace = tmplinfo->dobj.namespace->dobj.name,
.description = "TEXT SEARCH TEMPLATE",
+ .owner = "",
.section = SECTION_PRE_DATA,
.createStmt = q->data,
.dropStmt = delq->data));
.owner = daclinfo->defaclrole,
.description = "DEFAULT ACL",
.section = SECTION_POST_DATA,
- .createStmt = q->data));
+ .createStmt = q->data,
+ .dropStmt = ""));
destroyPQExpBuffer(tag);
destroyPQExpBuffer(q);
.description = "ACL",
.section = SECTION_NONE,
.createStmt = sql->data,
+ .dropStmt = "",
.deps = &objDumpId,
.nDeps = 1));
destroyPQExpBuffer(tag);
.description = "SECURITY LABEL",
.section = SECTION_NONE,
.createStmt = query->data,
+ .dropStmt = "",
.deps = &dumpId,
.nDeps = 1));
destroyPQExpBuffer(tag);
.description = "SECURITY LABEL",
.section = SECTION_NONE,
.createStmt = query->data,
+ .dropStmt = "",
.deps = &(tbinfo->dobj.dumpId),
.nDeps = 1));
}
ARCHIVE_OPTS(.tag = attachinfo->dobj.name,
.namespace = attachinfo->dobj.namespace->dobj.name,
.description = "INDEX ATTACH",
+ .owner = "",
.section = SECTION_POST_DATA,
- .createStmt = q->data));
+ .createStmt = q->data,
+ .dropStmt = ""));
destroyPQExpBuffer(q);
}
.description = "SEQUENCE OWNED BY",
.section = SECTION_PRE_DATA,
.createStmt = query->data,
+ .dropStmt = "",
.deps = &(tbinfo->dobj.dumpId),
.nDeps = 1));
}
.description = "SEQUENCE SET",
.section = SECTION_DATA,
.createStmt = query->data,
+ .dropStmt = "",
.deps = &(tbinfo->dobj.dumpId),
.nDeps = 1));