20 #define oidcmp(x,y) ( ((x) < (y) ? -1 : ((x) > (y)) ? 1 : 0) )
95 #define DUMP_COMPONENT_NONE (0)
96 #define DUMP_COMPONENT_DEFINITION (1 << 0)
97 #define DUMP_COMPONENT_DATA (1 << 1)
98 #define DUMP_COMPONENT_COMMENT (1 << 2)
99 #define DUMP_COMPONENT_SECLABEL (1 << 3)
100 #define DUMP_COMPONENT_ACL (1 << 4)
101 #define DUMP_COMPONENT_POLICY (1 << 5)
102 #define DUMP_COMPONENT_USERMAP (1 << 6)
103 #define DUMP_COMPONENT_ALL (0xFFFF)
127 #define DUMP_COMPONENTS_REQUIRING_LOCK (\
128 DUMP_COMPONENT_DEFINITION |\
129 DUMP_COMPONENT_DATA |\
130 DUMP_COMPONENT_POLICY)
743 int *numForeignDataWrappers);
745 int *numForeignServers);
754 int *numPublications);
NamespaceInfo * getNamespaces(Archive *fout, int *numNamespaces)
void getConstraints(Archive *fout, TableInfo tblinfo[], int numTables)
struct _collInfo CollInfo
struct _transformInfo TransformInfo
void recordExtensionMembership(CatalogId catId, ExtensionInfo *ext)
void getPublicationNamespaces(Archive *fout)
struct _opfamilyInfo OpfamilyInfo
void getPartitioningInfo(Archive *fout)
struct _indxInfo IndxInfo
DefaultACLInfo * getDefaultACLs(Archive *fout, int *numDefaultACLs)
struct _triggerInfo TriggerInfo
struct _tmplInfo TSTemplateInfo
struct _tableInfo TableInfo
FuncInfo * findFuncByOid(Oid oid)
void getPolicies(Archive *fout, TableInfo tblinfo[], int numTables)
struct _castInfo CastInfo
void getExtensionMembership(Archive *fout, ExtensionInfo extinfo[], int numExtensions)
struct _tableDataInfo TableDataInfo
ForeignServerInfo * getForeignServers(Archive *fout, int *numForeignServers)
NamespaceInfo * findNamespaceByOid(Oid oid)
struct _cfgInfo TSConfigInfo
AccessMethodInfo * getAccessMethods(Archive *fout, int *numAccessMethods)
FdwInfo * getForeignDataWrappers(Archive *fout, int *numForeignDataWrappers)
FuncInfo * getFuncs(Archive *fout, int *numFuncs)
TSConfigInfo * getTSConfigurations(Archive *fout, int *numTSConfigs)
struct _dumpableObject DumpableObject
struct _accessMethodInfo AccessMethodInfo
struct _attrDefInfo AttrDefInfo
ConvInfo * getConversions(Archive *fout, int *numConversions)
void getOwnedSeqs(Archive *fout, TableInfo tblinfo[], int numTables)
ExtensionInfo * findOwningExtension(CatalogId catalogId)
TableInfo * getSchemaData(Archive *fout, int *numTablesPtr)
struct _ruleInfo RuleInfo
void getPublicationTables(Archive *fout, TableInfo tblinfo[], int numTables)
AggInfo * getAggregates(Archive *fout, int *numAggs)
DumpableObject * findObjectByCatalogId(CatalogId catalogId)
void getIndexes(Archive *fout, TableInfo tblinfo[], int numTables)
void addObjectDependency(DumpableObject *dobj, DumpId refId)
struct _foreignServerInfo ForeignServerInfo
DumpableObject * findObjectByDumpId(DumpId dumpId)
void parseOidArray(const char *str, Oid *array, int arraysize)
struct _indexAttachInfo IndexAttachInfo
struct _procLangInfo ProcLangInfo
TSDictInfo * getTSDictionaries(Archive *fout, int *numTSDicts)
InhInfo * getInherits(Archive *fout, int *numInherits)
OpfamilyInfo * getOpfamilies(Archive *fout, int *numOpfamilies)
void getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables)
struct _prsInfo TSParserInfo
struct _policyInfo PolicyInfo
TableInfo * findTableByOid(Oid oid)
struct _PublicationInfo PublicationInfo
struct _namespaceInfo NamespaceInfo
struct _shellTypeInfo ShellTypeInfo
struct _dumpableObjectWithAcl DumpableObjectWithAcl
struct _defaultACLInfo DefaultACLInfo
PublicationInfo * getPublications(Archive *fout, int *numPublications)
DumpId createDumpId(void)
TSTemplateInfo * getTSTemplates(Archive *fout, int *numTSTemplates)
ProcLangInfo * getProcLangs(Archive *fout, int *numProcLangs)
TypeInfo * getTypes(Archive *fout, int *numTypes)
ExtensionInfo * findExtensionByOid(Oid oid)
void AssignDumpId(DumpableObject *dobj)
struct _evttriggerInfo EventTriggerInfo
void getExtendedStatistics(Archive *fout)
struct _dumpableAcl DumpableAcl
void processExtensionTables(Archive *fout, ExtensionInfo extinfo[], int numExtensions)
DumpId getMaxDumpId(void)
OpclassInfo * getOpclasses(Archive *fout, int *numOpclasses)
CollInfo * getCollations(Archive *fout, int *numCollations)
struct _typeInfo TypeInfo
void getSubscriptions(Archive *fout)
void sortDumpableObjects(DumpableObject **objs, int numObjs, DumpId preBoundaryId, DumpId postBoundaryId)
struct _SubscriptionInfo SubscriptionInfo
struct _extensionInfo ExtensionInfo
struct _dictInfo TSDictInfo
struct _funcInfo FuncInfo
struct _opclassInfo OpclassInfo
ExtensionInfo * getExtensions(Archive *fout, int *numExtensions)
void getDumpableObjects(DumpableObject ***objs, int *numObjs)
struct _statsExtInfo StatsExtInfo
CollInfo * findCollationByOid(Oid oid)
TSParserInfo * getTSParsers(Archive *fout, int *numTSParsers)
TransformInfo * getTransforms(Archive *fout, int *numTransforms)
void getTriggers(Archive *fout, TableInfo tblinfo[], int numTables)
@ DO_PUBLICATION_TABLE_IN_SCHEMA
TypeInfo * findTypeByOid(Oid oid)
OprInfo * getOperators(Archive *fout, int *numOprs)
RuleInfo * getRules(Archive *fout, int *numRules)
OprInfo * findOprByOid(Oid oid)
struct _PublicationRelInfo PublicationRelInfo
void sortDumpableObjectsByTypeName(DumpableObject **objs, int numObjs)
struct _convInfo ConvInfo
EventTriggerInfo * getEventTriggers(Archive *fout, int *numEventTriggers)
struct _constraintInfo ConstraintInfo
TableInfo * getTables(Archive *fout, int *numTables)
bool shouldPrintColumn(const DumpOptions *dopt, const TableInfo *tbinfo, int colno)
struct _tableAttachInfo TableAttachInfo
void removeObjectDependency(DumpableObject *dobj, DumpId refId)
CastInfo * getCasts(Archive *fout, int *numCasts)
PublicationInfo * findPublicationByOid(Oid oid)
struct _PublicationSchemaInfo PublicationSchemaInfo
PublicationInfo * publication
NamespaceInfo * pubschema
PublicationInfo * publication
char * subpasswordrequired
DumpComponents components
DumpableObjectType objType
DumpComponents dump_contains
SimplePtrList partattaches
struct _indxInfo * indexes
bool is_identity_sequence
struct _tableInfo ** parents
struct _triggerInfo * triggers
struct _constraintInfo * checkexprs
struct _attrDefInfo ** attrdefs
struct _tableDataInfo * dataObj
struct _constraintInfo * domChecks
struct _shellTypeInfo * shellType