20 #define oidcmp(x,y) ( ((x) < (y) ? -1 : ((x) > (y)) ? 1 : 0) )
96 #define DUMP_COMPONENT_NONE (0)
97 #define DUMP_COMPONENT_DEFINITION (1 << 0)
98 #define DUMP_COMPONENT_DATA (1 << 1)
99 #define DUMP_COMPONENT_COMMENT (1 << 2)
100 #define DUMP_COMPONENT_SECLABEL (1 << 3)
101 #define DUMP_COMPONENT_ACL (1 << 4)
102 #define DUMP_COMPONENT_POLICY (1 << 5)
103 #define DUMP_COMPONENT_USERMAP (1 << 6)
104 #define DUMP_COMPONENT_ALL (0xFFFF)
128 #define DUMP_COMPONENTS_REQUIRING_LOCK (\
129 DUMP_COMPONENT_DEFINITION |\
130 DUMP_COMPONENT_DATA |\
131 DUMP_COMPONENT_POLICY)
#define FLEXIBLE_ARRAY_MEMBER
void getConstraints(Archive *fout, TableInfo tblinfo[], int numTables)
struct _collInfo CollInfo
void recordAdditionalCatalogID(CatalogId catId, DumpableObject *dobj)
struct _transformInfo TransformInfo
void recordExtensionMembership(CatalogId catId, ExtensionInfo *ext)
void getPublicationNamespaces(Archive *fout)
struct _opfamilyInfo OpfamilyInfo
void getPartitioningInfo(Archive *fout)
struct _indxInfo IndxInfo
struct _triggerInfo TriggerInfo
struct _tmplInfo TSTemplateInfo
struct _tableInfo TableInfo
FuncInfo * findFuncByOid(Oid oid)
void getForeignDataWrappers(Archive *fout)
void getPolicies(Archive *fout, TableInfo tblinfo[], int numTables)
struct _castInfo CastInfo
void getExtensionMembership(Archive *fout, ExtensionInfo extinfo[], int numExtensions)
struct _tableDataInfo TableDataInfo
NamespaceInfo * findNamespaceByOid(Oid oid)
struct _cfgInfo TSConfigInfo
void getTypes(Archive *fout)
struct _dumpableObject DumpableObject
struct _accessMethodInfo AccessMethodInfo
struct _attrDefInfo AttrDefInfo
void getOwnedSeqs(Archive *fout, TableInfo tblinfo[], int numTables)
void getOpclasses(Archive *fout)
void getForeignServers(Archive *fout)
void getFuncs(Archive *fout)
SubscriptionInfo * findSubscriptionByOid(Oid oid)
void getTSDictionaries(Archive *fout)
ExtensionInfo * findOwningExtension(CatalogId catalogId)
TableInfo * getSchemaData(Archive *fout, int *numTablesPtr)
struct _ruleInfo RuleInfo
void getPublicationTables(Archive *fout, TableInfo tblinfo[], int numTables)
DumpableObject * findObjectByCatalogId(CatalogId catalogId)
void getCasts(Archive *fout)
void getIndexes(Archive *fout, TableInfo tblinfo[], int numTables)
void addObjectDependency(DumpableObject *dobj, DumpId refId)
void getTSConfigurations(Archive *fout)
struct _foreignServerInfo ForeignServerInfo
DumpableObject * findObjectByDumpId(DumpId dumpId)
void parseOidArray(const char *str, Oid *array, int arraysize)
struct _indexAttachInfo IndexAttachInfo
struct _SubRelInfo SubRelInfo
struct _procLangInfo ProcLangInfo
void getAccessMethods(Archive *fout)
void getConversions(Archive *fout)
void getRules(Archive *fout)
InhInfo * getInherits(Archive *fout, int *numInherits)
void getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables)
struct _prsInfo TSParserInfo
struct _policyInfo PolicyInfo
TableInfo * findTableByOid(Oid oid)
struct _PublicationInfo PublicationInfo
void getSubscriptionTables(Archive *fout)
void getCollations(Archive *fout)
struct _namespaceInfo NamespaceInfo
void getAggregates(Archive *fout)
struct _shellTypeInfo ShellTypeInfo
void getNamespaces(Archive *fout)
void getPublications(Archive *fout)
void getTSParsers(Archive *fout)
struct _dumpableObjectWithAcl DumpableObjectWithAcl
struct _defaultACLInfo DefaultACLInfo
DumpId createDumpId(void)
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)
void getDefaultACLs(Archive *fout)
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)
void getTriggers(Archive *fout, TableInfo tblinfo[], int numTables)
void getTransforms(Archive *fout)
void getEventTriggers(Archive *fout)
@ DO_PUBLICATION_TABLE_IN_SCHEMA
TypeInfo * findTypeByOid(Oid oid)
OprInfo * findOprByOid(Oid oid)
struct _PublicationRelInfo PublicationRelInfo
void sortDumpableObjectsByTypeName(DumpableObject **objs, int numObjs)
struct _convInfo ConvInfo
struct _constraintInfo ConstraintInfo
TableInfo * getTables(Archive *fout, int *numTables)
void getTSTemplates(Archive *fout)
void getProcLangs(Archive *fout)
bool shouldPrintColumn(const DumpOptions *dopt, const TableInfo *tbinfo, int colno)
struct _tableAttachInfo TableAttachInfo
void removeObjectDependency(DumpableObject *dobj, DumpId refId)
void getOperators(Archive *fout)
void getOpfamilies(Archive *fout)
PublicationInfo * findPublicationByOid(Oid oid)
struct _PublicationSchemaInfo PublicationSchemaInfo
PublicationInfo * publication
NamespaceInfo * pubschema
PublicationInfo * publication
SubscriptionInfo * subinfo
char * suboriginremotelsn
char * subpasswordrequired
DumpComponents components
DumpableObjectType objType
DumpComponents dump_contains
SimplePtrList partattaches
Oid looids[FLEXIBLE_ARRAY_MEMBER]
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