PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pg_dump.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * pg_dump.h
4 * Common header file for the pg_dump utility
5 *
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
8 *
9 * src/bin/pg_dump/pg_dump.h
10 *
11 *-------------------------------------------------------------------------
12 */
13
14#ifndef PG_DUMP_H
15#define PG_DUMP_H
16
17#include "pg_backup.h"
18#include "catalog/pg_publication_d.h"
19
20
21#define oidcmp(x,y) ( ((x) < (y) ? -1 : ((x) > (y)) ? 1 : 0) )
22
23/*
24 * The data structures used to store system catalog information. Every
25 * dumpable object is a subclass of DumpableObject.
26 *
27 * NOTE: the structures described here live for the entire pg_dump run;
28 * and in most cases we make a struct for every object we can find in the
29 * catalogs, not only those we are actually going to dump. Hence, it's
30 * best to store a minimal amount of per-object info in these structs,
31 * and retrieve additional per-object info when and if we dump a specific
32 * object. In particular, try to avoid retrieving expensive-to-compute
33 * information until it's known to be needed. We do, however, have to
34 * store enough info to determine whether an object should be dumped and
35 * what order to dump in.
36 */
37
38typedef enum
39{
40 /* When modifying this enum, update priority tables in pg_dump_sort.c! */
62 DO_FK_CONSTRAINT, /* see note for ConstraintInfo */
88 DO_SUBSCRIPTION_REL, /* see note for SubRelInfo */
90
91#define NUM_DUMPABLE_OBJECT_TYPES (DO_SUBSCRIPTION_REL + 1)
92
93/*
94 * DumpComponents is a bitmask of the potentially dumpable components of
95 * a database object: its core definition, plus optional attributes such
96 * as ACL, comments, etc.
97 *
98 * The NONE and ALL symbols are convenient shorthands for assigning values,
99 * but be careful about using them in tests. For example, a test like
100 * "if (dobj->dump == DUMP_COMPONENT_NONE)" is probably wrong; you likely want
101 * "if (!(dobj->dump & DUMP_COMPONENT_DEFINITION))" instead. This is because
102 * we aren't too careful about the values of irrelevant bits, as indeed can be
103 * seen in the definition of DUMP_COMPONENT_ALL. It's also possible that an
104 * object has only subsidiary bits such as DUMP_COMPONENT_ACL set, leading to
105 * unexpected behavior of a test against NONE.
106 */
108#define DUMP_COMPONENT_NONE (0)
109#define DUMP_COMPONENT_DEFINITION (1 << 0)
110#define DUMP_COMPONENT_DATA (1 << 1)
111#define DUMP_COMPONENT_COMMENT (1 << 2)
112#define DUMP_COMPONENT_SECLABEL (1 << 3)
113#define DUMP_COMPONENT_ACL (1 << 4)
114#define DUMP_COMPONENT_POLICY (1 << 5)
115#define DUMP_COMPONENT_USERMAP (1 << 6)
116#define DUMP_COMPONENT_STATISTICS (1 << 7)
117#define DUMP_COMPONENT_ALL (0xFFFF)
118
119/*
120 * component types which require us to obtain a lock on the table
121 *
122 * Note that some components only require looking at the information
123 * in the pg_catalog tables and, for those components, we do not need
124 * to lock the table. Be careful here though- some components use
125 * server-side functions which pull the latest information from
126 * SysCache and in those cases we *do* need to lock the table.
127 *
128 * We do not need locks for the COMMENT and SECLABEL components as
129 * those simply query their associated tables without using any
130 * server-side functions. We do not need locks for the ACL component
131 * as we pull that information from pg_class without using any
132 * server-side functions that use SysCache. The USERMAP component
133 * is only relevant for FOREIGN SERVERs and not tables, so no sense
134 * locking a table for that either (that can happen if we are going
135 * to dump "ALL" components for a table).
136 *
137 * We DO need locks for DEFINITION, due to various server-side
138 * functions that are used and POLICY due to pg_get_expr(). We set
139 * this up to grab the lock except in the cases we know to be safe.
140 */
141#define DUMP_COMPONENTS_REQUIRING_LOCK (\
142 DUMP_COMPONENT_DEFINITION |\
143 DUMP_COMPONENT_DATA |\
144 DUMP_COMPONENT_STATISTICS |\
145 DUMP_COMPONENT_POLICY)
146
147typedef struct _dumpableObject
148{
150 CatalogId catId; /* zero if not a cataloged object */
151 DumpId dumpId; /* assigned by AssignDumpId() */
152 char *name; /* object name (should never be NULL) */
153 struct _namespaceInfo *namespace; /* containing namespace, or NULL */
154 DumpComponents dump; /* bitmask of components requested to dump */
155 DumpComponents dump_contains; /* as above, but for contained objects */
156 DumpComponents components; /* bitmask of components available to dump */
157 bool ext_member; /* true if object is member of extension */
158 bool depends_on_ext; /* true if object depends on an extension */
159 DumpId *dependencies; /* dumpIds of objects this one depends on */
160 int nDeps; /* number of valid dependencies */
161 int allocDeps; /* allocated size of dependencies[] */
163
164/*
165 * Object types that have ACLs must store them in a DumpableAcl sub-struct,
166 * which must immediately follow the DumpableObject base struct.
167 */
168typedef struct _dumpableAcl
169{
170 char *acl; /* the object's actual ACL string */
171 char *acldefault; /* default ACL for the object's type & owner */
172 /* these fields come from the object's pg_init_privs entry, if any: */
173 char privtype; /* entry type, 'i' or 'e'; 0 if no entry */
174 char *initprivs; /* the object's initial ACL string, or NULL */
176
177/* Generic struct that can be used to access any object type having an ACL */
179{
183
184typedef struct _namespaceInfo
185{
188 bool create; /* CREATE SCHEMA, or just set owner? */
189 Oid nspowner; /* OID of owner */
190 const char *rolname; /* name of owner */
192
193typedef struct _extensionInfo
194{
196 char *namespace; /* schema containing extension's objects */
199 char *extconfig; /* info about configuration tables */
202
203typedef struct _typeInfo
204{
207
208 /*
209 * Note: dobj.name is the raw pg_type.typname entry. ftypname is the
210 * result of format_type(), which will be quoted if needed, and might be
211 * schema-qualified too.
212 */
213 char *ftypname;
214 const char *rolname;
218 char typrelkind; /* 'r', 'v', 'c', etc */
219 char typtype; /* 'b', 'c', etc */
220 bool isArray; /* true if auto-generated array type */
221 bool isMultirange; /* true if auto-generated multirange type */
222 bool isDefined; /* true if typisdefined */
223 /* If needed, we'll create a "shell type" entry for it; link that here: */
224 struct _shellTypeInfo *shellType; /* shell-type entry, or NULL */
225 /* If it's a domain, we store links to its constraints here: */
229
230typedef struct _shellTypeInfo
231{
233
234 TypeInfo *baseType; /* back link to associated base type */
236
237typedef struct _funcInfo
238{
241 const char *rolname;
243 int nargs;
246 bool postponed_def; /* function must be postponed into post-data */
248
249/* AggInfo is a superset of FuncInfo */
250typedef struct _aggInfo
251{
253 /* we don't require any other fields at the moment */
255
256typedef struct _oprInfo
257{
259 const char *rolname;
263
264typedef struct _accessMethodInfo
265{
267 char amtype;
270
271typedef struct _opclassInfo
272{
274 const char *rolname;
276
277typedef struct _opfamilyInfo
278{
280 const char *rolname;
282
283typedef struct _collInfo
284{
286 const char *rolname;
288
289typedef struct _convInfo
290{
292 const char *rolname;
294
295typedef struct _tableInfo
296{
297 /*
298 * These fields are collected for every table in the database.
299 */
302 const char *rolname;
304 char relpersistence; /* relation persistence */
305 bool relispopulated; /* relation is populated */
306 char relreplident; /* replica identifier */
307 char *reltablespace; /* relation tablespace */
308 char *reloptions; /* options specified by WITH (...) */
309 char *checkoption; /* WITH CHECK OPTION, if any */
310 char *toast_reloptions; /* WITH options for the TOAST table */
311 bool hasindex; /* does it have any indexes? */
312 bool hasrules; /* does it have any rules? */
313 bool hastriggers; /* does it have any triggers? */
314 bool hascolumnACLs; /* do any columns have non-default ACLs? */
315 bool rowsec; /* is row security enabled? */
316 bool forcerowsec; /* is row security forced? */
317 bool hasoids; /* does it have OIDs? */
318 uint32 frozenxid; /* table's relfrozenxid */
319 uint32 minmxid; /* table's relminmxid */
320 Oid toast_oid; /* toast table's OID, or 0 if none */
321 uint32 toast_frozenxid; /* toast table's relfrozenxid, if any */
322 uint32 toast_minmxid; /* toast table's relminmxid */
323 int ncheck; /* # of CHECK expressions */
324 Oid reltype; /* OID of table's composite type, if any */
325 Oid reloftype; /* underlying type for typed table */
326 Oid foreign_server; /* foreign server oid, if applicable */
327 /* these two are set only if table is a sequence owned by a column: */
328 Oid owning_tab; /* OID of table owning sequence */
329 int owning_col; /* attr # of column owning sequence */
331 int32 relpages; /* table's size in pages (from pg_class) */
332 int toastpages; /* toast table's size in pages, if any */
333
334 bool interesting; /* true if need to collect more data */
335 bool dummy_view; /* view's real definition must be postponed */
336 bool postponed_def; /* matview must be postponed into post-data */
337 bool ispartition; /* is table a partition? */
338 bool unsafe_partitions; /* is it an unsafe partitioned table? */
339
340 int numParents; /* number of (immediate) parent tables */
341 struct _tableInfo **parents; /* TableInfos of immediate parents */
342
343 /*
344 * These fields are computed only if we decide the table is interesting
345 * (it's either a table to dump, or a direct parent of a dumpable table).
346 */
347 int numatts; /* number of attributes */
348 char **attnames; /* the attribute names */
349 char **atttypnames; /* attribute type names */
350 int *attstattarget; /* attribute statistics targets */
351 char *attstorage; /* attribute storage scheme */
352 char *typstorage; /* type storage scheme */
353 bool *attisdropped; /* true if attr is dropped; don't dump it */
356 int *attlen; /* attribute length, used by binary_upgrade */
357 char *attalign; /* attribute align, used by binary_upgrade */
358 bool *attislocal; /* true if attr has local definition */
359 char **attoptions; /* per-attribute options */
360 Oid *attcollation; /* per-attribute collation selection */
361 char *attcompression; /* per-attribute compression method */
362 char **attfdwoptions; /* per-attribute fdw options */
363 char **attmissingval; /* per attribute missing value */
364 char **notnull_constrs; /* NOT NULL constraint names. If null,
365 * there isn't one on this column. If
366 * empty string, unnamed constraint
367 * (pre-v17) */
368 bool *notnull_invalid; /* true for NOT NULL NOT VALID */
369 bool *notnull_noinh; /* NOT NULL is NO INHERIT */
370 bool *notnull_islocal; /* true if NOT NULL has local definition */
371 struct _attrDefInfo **attrdefs; /* DEFAULT expressions */
372 struct _constraintInfo *checkexprs; /* CHECK constraints */
373 struct _relStatsInfo *stats; /* only set for matviews */
374 bool needs_override; /* has GENERATED ALWAYS AS IDENTITY */
375 char *amname; /* relation access method */
376
377 /*
378 * Stuff computed only for dumpable tables.
379 */
380 int numIndexes; /* number of indexes */
381 struct _indxInfo *indexes; /* indexes */
382 struct _tableDataInfo *dataObj; /* TableDataInfo, if dumping its data */
383 int numTriggers; /* number of triggers for table */
384 struct _triggerInfo *triggers; /* array of TriggerInfo structs */
386
387typedef struct _tableAttachInfo
388{
390 TableInfo *parentTbl; /* link to partitioned table */
391 TableInfo *partitionTbl; /* link to partition */
393
394typedef struct _attrDefInfo
395{
396 DumpableObject dobj; /* note: dobj.name is name of table */
397 TableInfo *adtable; /* link to table of attribute */
398 int adnum;
399 char *adef_expr; /* decompiled DEFAULT expression */
400 bool separate; /* true if must dump as separate item */
402
403typedef struct _tableDataInfo
404{
406 TableInfo *tdtable; /* link to table to dump */
407 char *filtercond; /* WHERE condition to limit rows dumped */
409
410typedef struct _indxInfo
411{
413 TableInfo *indextable; /* link to table the index is for */
414 char *indexdef;
415 char *tablespace; /* tablespace in which index is stored */
416 char *indreloptions; /* options specified by WITH (...) */
417 char *indstatcols; /* column numbers with statistics */
418 char *indstatvals; /* statistic values for columns */
419 int indnkeyattrs; /* number of index key attributes */
420 int indnattrs; /* total number of index attributes */
421 Oid *indkeys; /* In spite of the name 'indkeys' this field
422 * contains both key and nonkey attributes */
426 Oid parentidx; /* if a partition, parent index OID */
427 SimplePtrList partattaches; /* if partitioned, partition attach objects */
428
429 /* if there is an associated constraint object, its dumpId: */
432
433typedef struct _indexAttachInfo
434{
436 IndxInfo *parentIdx; /* link to index on partitioned table */
437 IndxInfo *partitionIdx; /* link to index on partition */
439
440typedef struct _relStatsInfo
441{
447 char relkind; /* 'r', 'm', 'i', etc */
448
449 /*
450 * indAttNames/nindAttNames are populated only if the relation is an index
451 * with at least one expression column; we don't need them otherwise.
452 */
453 char **indAttNames; /* attnames of the index, in order */
454 int32 nindAttNames; /* number of attnames stored (can be 0) */
455 teSection section; /* stats may appear in data or post-data */
457
458typedef struct _statsExtInfo
459{
461 const char *rolname; /* owner */
462 TableInfo *stattable; /* link to table the stats are for */
463 int stattarget; /* statistics target */
465
466typedef struct _ruleInfo
467{
469 TableInfo *ruletable; /* link to table the rule is for */
473 bool separate; /* true if must dump as separate item */
474 /* separate is always true for non-ON SELECT rules */
476
477typedef struct _triggerInfo
478{
480 TableInfo *tgtable; /* link to table the trigger is for */
483 char *tgdef;
485
486typedef struct _evttriggerInfo
487{
489 char *evtname;
490 char *evtevent;
491 const char *evtowner;
492 char *evttags;
493 char *evtfname;
496
497/*
498 * struct ConstraintInfo is used for all constraint types. However we
499 * use a different objType for foreign key constraints, to make it easier
500 * to sort them the way we want.
501 *
502 * Not-null constraints don't need this, unless they are NOT VALID.
503 *
504 * Note: condeferrable and condeferred are currently only valid for
505 * unique/primary-key constraints. Otherwise that info is in condef.
506 */
507typedef struct _constraintInfo
508{
510 TableInfo *contable; /* NULL if domain constraint */
511 TypeInfo *condomain; /* NULL if table constraint */
513 char *condef; /* definition, if CHECK or FOREIGN KEY */
514 Oid confrelid; /* referenced table, if FOREIGN KEY */
515 DumpId conindex; /* identifies associated index if any */
516 bool condeferrable; /* true if constraint is DEFERRABLE */
517 bool condeferred; /* true if constraint is INITIALLY DEFERRED */
518 bool conperiod; /* true if the constraint is WITHOUT OVERLAPS */
519 bool conislocal; /* true if constraint has local definition */
520 bool separate; /* true if must dump as separate item */
522
523typedef struct _procLangInfo
524{
531 const char *lanowner;
533
534typedef struct _castInfo
535{
543
544typedef struct _transformInfo
545{
552
553/* InhInfo isn't a DumpableObject, just temporary state */
554typedef struct _inhInfo
555{
556 Oid inhrelid; /* OID of a child table */
557 Oid inhparent; /* OID of its parent */
559
560typedef struct _prsInfo
561{
569
570typedef struct _dictInfo
571{
573 const char *rolname;
577
578typedef struct _tmplInfo
579{
584
585typedef struct _cfgInfo
586{
588 const char *rolname;
591
592typedef struct _fdwInfo
593{
596 const char *rolname;
601
602typedef struct _foreignServerInfo
603{
606 const char *rolname;
608 char *srvtype;
612
613typedef struct _defaultACLInfo
614{
617 const char *defaclrole;
620
621/*
622 * LoInfo represents a group of large objects (blobs) that share the same
623 * owner and ACL setting. dobj.components has the DUMP_COMPONENT_COMMENT bit
624 * set if any blob in the group has a comment; similarly for sec labels.
625 * If there are many blobs with the same owner/ACL, we can divide them into
626 * multiple LoInfo groups, which will each spawn a BLOB METADATA and a BLOBS
627 * (data) TOC entry. This allows more parallelism during restore.
628 */
629typedef struct _loInfo
630{
633 const char *rolname;
637
638/*
639 * The PolicyInfo struct is used to represent policies on a table and
640 * to indicate if a table has RLS enabled (ENABLE ROW SECURITY). If
641 * polname is NULL, then the record indicates ENABLE ROW SECURITY, while if
642 * it's non-NULL then this is a regular policy definition.
643 */
644typedef struct _policyInfo
645{
648 char *polname; /* null indicates RLS is enabled on rel */
649 char polcmd;
651 char *polroles;
652 char *polqual;
655
656/*
657 * The PublicationInfo struct is used to represent publications.
658 */
659typedef struct _PublicationInfo
660{
662 const char *rolname;
669 PublishGencolsType pubgencols_type;
671
672/*
673 * The PublicationRelInfo struct is used to represent publication table
674 * mapping.
675 */
677{
684
685/*
686 * The PublicationSchemaInfo struct is used to represent publication schema
687 * mapping.
688 */
690{
695
696/*
697 * The SubscriptionInfo struct is used to represent subscription.
698 */
699typedef struct _SubscriptionInfo
700{
702 const char *rolname;
718
719/*
720 * The SubRelInfo struct is used to represent a subscription relation.
721 *
722 * XXX Currently, the subscription tables are added to the subscription after
723 * enabling the subscription in binary-upgrade mode. As the apply workers will
724 * not be started in binary_upgrade mode the ordering of enable subscription
725 * does not matter. The order of adding the subscription tables to the
726 * subscription and enabling the subscription should be taken care of if this
727 * feature will be supported in a non-binary-upgrade mode in the future.
728 */
729typedef struct _SubRelInfo
730{
735 char *srsublsn;
737
738/*
739 * common utility functions
740 */
741
742extern TableInfo *getSchemaData(Archive *fout, int *numTablesPtr);
743
744extern void AssignDumpId(DumpableObject *dobj);
745extern void recordAdditionalCatalogID(CatalogId catId, DumpableObject *dobj);
746extern DumpId createDumpId(void);
747extern DumpId getMaxDumpId(void);
750extern void getDumpableObjects(DumpableObject ***objs, int *numObjs);
751
752extern void addObjectDependency(DumpableObject *dobj, DumpId refId);
753extern void removeObjectDependency(DumpableObject *dobj, DumpId refId);
754
755extern TableInfo *findTableByOid(Oid oid);
756extern TypeInfo *findTypeByOid(Oid oid);
757extern FuncInfo *findFuncByOid(Oid oid);
758extern OprInfo *findOprByOid(Oid oid);
759extern CollInfo *findCollationByOid(Oid oid);
764
765extern void recordExtensionMembership(CatalogId catId, ExtensionInfo *ext);
767
768extern void parseOidArray(const char *str, Oid *array, int arraysize);
769
770extern void sortDumpableObjects(DumpableObject **objs, int numObjs,
771 DumpId preBoundaryId, DumpId postBoundaryId);
772extern void sortDumpableObjectsByTypeName(DumpableObject **objs, int numObjs);
773
774/*
775 * version specific routines
776 */
777extern void getNamespaces(Archive *fout);
778extern ExtensionInfo *getExtensions(Archive *fout, int *numExtensions);
779extern void getTypes(Archive *fout);
780extern void getFuncs(Archive *fout);
781extern void getAggregates(Archive *fout);
782extern void getOperators(Archive *fout);
783extern void getAccessMethods(Archive *fout);
784extern void getOpclasses(Archive *fout);
785extern void getOpfamilies(Archive *fout);
786extern void getCollations(Archive *fout);
787extern void getConversions(Archive *fout);
788extern TableInfo *getTables(Archive *fout, int *numTables);
789extern void getOwnedSeqs(Archive *fout, TableInfo tblinfo[], int numTables);
790extern InhInfo *getInherits(Archive *fout, int *numInherits);
791extern void getPartitioningInfo(Archive *fout);
792extern void getIndexes(Archive *fout, TableInfo tblinfo[], int numTables);
793extern void getExtendedStatistics(Archive *fout);
794extern void getConstraints(Archive *fout, TableInfo tblinfo[], int numTables);
795extern void getRules(Archive *fout);
796extern void getTriggers(Archive *fout, TableInfo tblinfo[], int numTables);
797extern void getProcLangs(Archive *fout);
798extern void getCasts(Archive *fout);
799extern void getTransforms(Archive *fout);
800extern void getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables);
801extern bool shouldPrintColumn(const DumpOptions *dopt, const TableInfo *tbinfo, int colno);
802extern void getTSParsers(Archive *fout);
803extern void getTSDictionaries(Archive *fout);
804extern void getTSTemplates(Archive *fout);
805extern void getTSConfigurations(Archive *fout);
806extern void getForeignDataWrappers(Archive *fout);
807extern void getForeignServers(Archive *fout);
808extern void getDefaultACLs(Archive *fout);
809extern void getExtensionMembership(Archive *fout, ExtensionInfo extinfo[],
810 int numExtensions);
811extern void processExtensionTables(Archive *fout, ExtensionInfo extinfo[],
812 int numExtensions);
813extern void getEventTriggers(Archive *fout);
814extern void getPolicies(Archive *fout, TableInfo tblinfo[], int numTables);
815extern void getPublications(Archive *fout);
816extern void getPublicationNamespaces(Archive *fout);
817extern void getPublicationTables(Archive *fout, TableInfo tblinfo[],
818 int numTables);
819extern void getSubscriptions(Archive *fout);
820extern void getSubscriptionTables(Archive *fout);
821
822#endif /* PG_DUMP_H */
#define FLEXIBLE_ARRAY_MEMBER
Definition: c.h:434
int32_t int32
Definition: c.h:498
uint32_t uint32
Definition: c.h:502
const char * str
int DumpId
Definition: pg_backup.h:280
enum _teSection teSection
void getConstraints(Archive *fout, TableInfo tblinfo[], int numTables)
Definition: pg_dump.c:8062
struct _collInfo CollInfo
void recordAdditionalCatalogID(CatalogId catId, DumpableObject *dobj)
Definition: common.c:718
struct _transformInfo TransformInfo
ExtensionInfo * getExtensions(Archive *fout, int *numExtensions)
Definition: pg_dump.c:5927
void recordExtensionMembership(CatalogId catId, ExtensionInfo *ext)
Definition: common.c:1044
void getPublicationNamespaces(Archive *fout)
Definition: pg_dump.c:4588
struct _opfamilyInfo OpfamilyInfo
void getPartitioningInfo(Archive *fout)
Definition: pg_dump.c:7554
struct _indxInfo IndxInfo
struct _fdwInfo FdwInfo
struct _triggerInfo TriggerInfo
struct _tmplInfo TSTemplateInfo
struct _tableInfo TableInfo
FuncInfo * findFuncByOid(Oid oid)
Definition: common.c:917
InhInfo * getInherits(Archive *fout, int *numInherits)
Definition: pg_dump.c:7498
TableInfo * findTableByOid(Oid oid)
Definition: common.c:862
void getForeignDataWrappers(Archive *fout)
Definition: pg_dump.c:10127
struct _aggInfo AggInfo
void getPolicies(Archive *fout, TableInfo tblinfo[], int numTables)
Definition: pg_dump.c:4092
ExtensionInfo * findExtensionByOid(Oid oid)
Definition: common.c:989
struct _castInfo CastInfo
void getExtensionMembership(Archive *fout, ExtensionInfo extinfo[], int numExtensions)
Definition: pg_dump.c:19253
CollInfo * findCollationByOid(Oid oid)
Definition: common.c:953
struct _tableDataInfo TableDataInfo
struct _cfgInfo TSConfigInfo
SubscriptionInfo * findSubscriptionByOid(Oid oid)
Definition: common.c:1025
void getTypes(Archive *fout)
Definition: pg_dump.c:6002
struct _dumpableObject DumpableObject
struct _accessMethodInfo AccessMethodInfo
struct _attrDefInfo AttrDefInfo
void getOwnedSeqs(Archive *fout, TableInfo tblinfo[], int numTables)
Definition: pg_dump.c:7433
void getOpclasses(Archive *fout)
Definition: pg_dump.c:6423
void getForeignServers(Archive *fout)
Definition: pg_dump.c:10211
void getFuncs(Archive *fout)
Definition: pg_dump.c:6686
OprInfo * findOprByOid(Oid oid)
Definition: common.c:935
void getTSDictionaries(Archive *fout)
Definition: pg_dump.c:9943
struct _ruleInfo RuleInfo
void getPublicationTables(Archive *fout, TableInfo tblinfo[], int numTables)
Definition: pg_dump.c:4668
NamespaceInfo * findNamespaceByOid(Oid oid)
Definition: common.c:971
struct _relStatsInfo RelStatsInfo
void getCasts(Archive *fout)
Definition: pg_dump.c:8789
void getIndexes(Archive *fout, TableInfo tblinfo[], int numTables)
Definition: pg_dump.c:7614
void addObjectDependency(DumpableObject *dobj, DumpId refId)
Definition: common.c:817
void getTSConfigurations(Archive *fout)
Definition: pg_dump.c:10068
DumpableObject * findObjectByDumpId(DumpId dumpId)
Definition: common.c:764
struct _foreignServerInfo ForeignServerInfo
void parseOidArray(const char *str, Oid *array, int arraysize)
Definition: common.c:1092
struct _inhInfo InhInfo
struct _indexAttachInfo IndexAttachInfo
struct _SubRelInfo SubRelInfo
struct _procLangInfo ProcLangInfo
void getAccessMethods(Archive *fout)
Definition: pg_dump.c:6361
void getConversions(Archive *fout)
Definition: pg_dump.c:6299
void getRules(Archive *fout)
Definition: pg_dump.c:8334
ExtensionInfo * findOwningExtension(CatalogId catalogId)
Definition: common.c:1068
void getTableAttrs(Archive *fout, TableInfo *tblinfo, int numTables)
Definition: pg_dump.c:8983
struct _prsInfo TSParserInfo
struct _policyInfo PolicyInfo
TableInfo * getSchemaData(Archive *fout, int *numTablesPtr)
Definition: common.c:97
struct _PublicationInfo PublicationInfo
void getSubscriptionTables(Archive *fout)
Definition: pg_dump.c:5137
void getCollations(Archive *fout)
Definition: pg_dump.c:6237
struct _namespaceInfo NamespaceInfo
void getAggregates(Archive *fout)
Definition: pg_dump.c:6545
struct _shellTypeInfo ShellTypeInfo
void getNamespaces(Archive *fout)
Definition: pg_dump.c:5795
void getPublications(Archive *fout)
Definition: pg_dump.c:4382
void getTSParsers(Archive *fout)
Definition: pg_dump.c:9869
TypeInfo * findTypeByOid(Oid oid)
Definition: common.c:898
struct _dumpableObjectWithAcl DumpableObjectWithAcl
struct _defaultACLInfo DefaultACLInfo
DumpId createDumpId(void)
Definition: common.c:744
TableInfo * getTables(Archive *fout, int *numTables)
Definition: pg_dump.c:6956
struct _loInfo LoInfo
DumpableObject * findObjectByCatalogId(CatalogId catalogId)
Definition: common.c:777
void AssignDumpId(DumpableObject *dobj)
Definition: common.c:656
struct _evttriggerInfo EventTriggerInfo
void getExtendedStatistics(Archive *fout)
Definition: pg_dump.c:7983
struct _dumpableAcl DumpableAcl
void processExtensionTables(Archive *fout, ExtensionInfo extinfo[], int numExtensions)
Definition: pg_dump.c:19346
DumpId getMaxDumpId(void)
Definition: common.c:753
void getDefaultACLs(Archive *fout)
Definition: pg_dump.c:10299
uint32 DumpComponents
Definition: pg_dump.h:107
struct _typeInfo TypeInfo
void getSubscriptions(Archive *fout)
Definition: pg_dump.c:4939
void sortDumpableObjects(DumpableObject **objs, int numObjs, DumpId preBoundaryId, DumpId postBoundaryId)
Definition: pg_dump_sort.c:334
struct _SubscriptionInfo SubscriptionInfo
struct _extensionInfo ExtensionInfo
struct _dictInfo TSDictInfo
struct _funcInfo FuncInfo
struct _opclassInfo OpclassInfo
void getDumpableObjects(DumpableObject ***objs, int *numObjs)
Definition: common.c:796
struct _statsExtInfo StatsExtInfo
void getTriggers(Archive *fout, TableInfo tblinfo[], int numTables)
Definition: pg_dump.c:8431
void getTransforms(Archive *fout)
Definition: pg_dump.c:8899
void getEventTriggers(Archive *fout)
Definition: pg_dump.c:8627
DumpableObjectType
Definition: pg_dump.h:39
@ DO_EVENT_TRIGGER
Definition: pg_dump.h:80
@ DO_REFRESH_MATVIEW
Definition: pg_dump.h:81
@ DO_POLICY
Definition: pg_dump.h:82
@ DO_CAST
Definition: pg_dump.h:64
@ DO_FOREIGN_SERVER
Definition: pg_dump.h:73
@ DO_PRE_DATA_BOUNDARY
Definition: pg_dump.h:78
@ DO_PROCLANG
Definition: pg_dump.h:63
@ DO_TYPE
Definition: pg_dump.h:43
@ DO_INDEX
Definition: pg_dump.h:56
@ DO_COLLATION
Definition: pg_dump.h:51
@ DO_LARGE_OBJECT
Definition: pg_dump.h:76
@ DO_TSCONFIG
Definition: pg_dump.h:71
@ DO_OPERATOR
Definition: pg_dump.h:47
@ DO_FK_CONSTRAINT
Definition: pg_dump.h:62
@ DO_CONSTRAINT
Definition: pg_dump.h:61
@ DO_SUBSCRIPTION
Definition: pg_dump.h:87
@ DO_DEFAULT_ACL
Definition: pg_dump.h:74
@ DO_FDW
Definition: pg_dump.h:72
@ DO_SUBSCRIPTION_REL
Definition: pg_dump.h:88
@ DO_REL_STATS
Definition: pg_dump.h:86
@ DO_SEQUENCE_SET
Definition: pg_dump.h:66
@ DO_ATTRDEF
Definition: pg_dump.h:55
@ DO_PUBLICATION_REL
Definition: pg_dump.h:84
@ DO_TABLE_ATTACH
Definition: pg_dump.h:54
@ DO_OPCLASS
Definition: pg_dump.h:49
@ DO_INDEX_ATTACH
Definition: pg_dump.h:57
@ DO_TSTEMPLATE
Definition: pg_dump.h:70
@ DO_STATSEXT
Definition: pg_dump.h:58
@ DO_FUNC
Definition: pg_dump.h:45
@ DO_POST_DATA_BOUNDARY
Definition: pg_dump.h:79
@ DO_LARGE_OBJECT_DATA
Definition: pg_dump.h:77
@ DO_OPFAMILY
Definition: pg_dump.h:50
@ DO_TRANSFORM
Definition: pg_dump.h:75
@ DO_ACCESS_METHOD
Definition: pg_dump.h:48
@ DO_PUBLICATION_TABLE_IN_SCHEMA
Definition: pg_dump.h:85
@ DO_CONVERSION
Definition: pg_dump.h:52
@ DO_TRIGGER
Definition: pg_dump.h:60
@ DO_RULE
Definition: pg_dump.h:59
@ DO_DUMMY_TYPE
Definition: pg_dump.h:67
@ DO_TSDICT
Definition: pg_dump.h:69
@ DO_TSPARSER
Definition: pg_dump.h:68
@ DO_EXTENSION
Definition: pg_dump.h:42
@ DO_TABLE_DATA
Definition: pg_dump.h:65
@ DO_PUBLICATION
Definition: pg_dump.h:83
@ DO_TABLE
Definition: pg_dump.h:53
@ DO_NAMESPACE
Definition: pg_dump.h:41
@ DO_AGG
Definition: pg_dump.h:46
@ DO_SHELL_TYPE
Definition: pg_dump.h:44
struct _PublicationRelInfo PublicationRelInfo
PublicationInfo * findPublicationByOid(Oid oid)
Definition: common.c:1007
void sortDumpableObjectsByTypeName(DumpableObject **objs, int numObjs)
Definition: pg_dump_sort.c:190
struct _convInfo ConvInfo
struct _constraintInfo ConstraintInfo
void getTSTemplates(Archive *fout)
Definition: pg_dump.c:10009
void getProcLangs(Archive *fout)
Definition: pg_dump.c:8705
bool shouldPrintColumn(const DumpOptions *dopt, const TableInfo *tbinfo, int colno)
Definition: pg_dump.c:9854
struct _tableAttachInfo TableAttachInfo
void removeObjectDependency(DumpableObject *dobj, DumpId refId)
Definition: common.c:842
void getOperators(Archive *fout)
Definition: pg_dump.c:6169
void getOpfamilies(Archive *fout)
Definition: pg_dump.c:6483
struct _oprInfo OprInfo
struct _PublicationSchemaInfo PublicationSchemaInfo
unsigned int Oid
Definition: postgres_ext.h:30
const char * rolname
Definition: pg_dump.h:662
bool puballtables
Definition: pg_dump.h:663
bool pubtruncate
Definition: pg_dump.h:667
PublishGencolsType pubgencols_type
Definition: pg_dump.h:669
DumpableObject dobj
Definition: pg_dump.h:661
TableInfo * pubtable
Definition: pg_dump.h:680
PublicationInfo * publication
Definition: pg_dump.h:679
DumpableObject dobj
Definition: pg_dump.h:678
NamespaceInfo * pubschema
Definition: pg_dump.h:693
DumpableObject dobj
Definition: pg_dump.h:691
PublicationInfo * publication
Definition: pg_dump.h:692
DumpableObject dobj
Definition: pg_dump.h:731
char * srsublsn
Definition: pg_dump.h:735
SubscriptionInfo * subinfo
Definition: pg_dump.h:732
TableInfo * tblinfo
Definition: pg_dump.h:733
char srsubstate
Definition: pg_dump.h:734
char * suboriginremotelsn
Definition: pg_dump.h:716
bool subpasswordrequired
Definition: pg_dump.h:708
char * suborigin
Definition: pg_dump.h:715
const char * rolname
Definition: pg_dump.h:702
char * subsynccommit
Definition: pg_dump.h:713
char * subpublications
Definition: pg_dump.h:714
bool subdisableonerr
Definition: pg_dump.h:707
bool subrunasowner
Definition: pg_dump.h:709
char * subslotname
Definition: pg_dump.h:712
char subtwophasestate
Definition: pg_dump.h:706
char * subconninfo
Definition: pg_dump.h:711
DumpableObject dobj
Definition: pg_dump.h:701
char * amhandler
Definition: pg_dump.h:268
DumpableObject dobj
Definition: pg_dump.h:266
FuncInfo aggfn
Definition: pg_dump.h:252
DumpableObject dobj
Definition: pg_dump.h:396
char * adef_expr
Definition: pg_dump.h:399
TableInfo * adtable
Definition: pg_dump.h:397
bool separate
Definition: pg_dump.h:400
char castmethod
Definition: pg_dump.h:541
Oid casttarget
Definition: pg_dump.h:538
char castcontext
Definition: pg_dump.h:540
DumpableObject dobj
Definition: pg_dump.h:536
Oid castsource
Definition: pg_dump.h:537
Oid castfunc
Definition: pg_dump.h:539
Oid cfgparser
Definition: pg_dump.h:589
DumpableObject dobj
Definition: pg_dump.h:587
const char * rolname
Definition: pg_dump.h:588
const char * rolname
Definition: pg_dump.h:286
DumpableObject dobj
Definition: pg_dump.h:285
TypeInfo * condomain
Definition: pg_dump.h:511
TableInfo * contable
Definition: pg_dump.h:510
bool condeferred
Definition: pg_dump.h:517
bool conperiod
Definition: pg_dump.h:518
bool conislocal
Definition: pg_dump.h:519
DumpableObject dobj
Definition: pg_dump.h:509
DumpId conindex
Definition: pg_dump.h:515
bool condeferrable
Definition: pg_dump.h:516
char * condef
Definition: pg_dump.h:513
DumpableObject dobj
Definition: pg_dump.h:291
const char * rolname
Definition: pg_dump.h:292
DumpableObject dobj
Definition: pg_dump.h:615
DumpableAcl dacl
Definition: pg_dump.h:616
const char * defaclrole
Definition: pg_dump.h:617
char defaclobjtype
Definition: pg_dump.h:618
char * dictinitoption
Definition: pg_dump.h:575
DumpableObject dobj
Definition: pg_dump.h:572
const char * rolname
Definition: pg_dump.h:573
Oid dicttemplate
Definition: pg_dump.h:574
char privtype
Definition: pg_dump.h:173
char * acldefault
Definition: pg_dump.h:171
char * acl
Definition: pg_dump.h:170
char * initprivs
Definition: pg_dump.h:174
DumpableAcl dacl
Definition: pg_dump.h:181
DumpableObject dobj
Definition: pg_dump.h:180
DumpComponents dump
Definition: pg_dump.h:153
char * name
Definition: pg_dump.h:152
DumpId * dependencies
Definition: pg_dump.h:159
DumpId dumpId
Definition: pg_dump.h:151
bool ext_member
Definition: pg_dump.h:157
DumpComponents components
Definition: pg_dump.h:156
DumpableObjectType objType
Definition: pg_dump.h:149
CatalogId catId
Definition: pg_dump.h:150
DumpComponents dump_contains
Definition: pg_dump.h:155
bool depends_on_ext
Definition: pg_dump.h:158
char * evtevent
Definition: pg_dump.h:490
char * evtfname
Definition: pg_dump.h:493
char evtenabled
Definition: pg_dump.h:494
char * evtname
Definition: pg_dump.h:489
const char * evtowner
Definition: pg_dump.h:491
char * evttags
Definition: pg_dump.h:492
DumpableObject dobj
Definition: pg_dump.h:488
bool relocatable
Definition: pg_dump.h:196
char * extversion
Definition: pg_dump.h:198
DumpableObject dobj
Definition: pg_dump.h:195
char * extcondition
Definition: pg_dump.h:200
char * extconfig
Definition: pg_dump.h:199
char * fdwhandler
Definition: pg_dump.h:597
const char * rolname
Definition: pg_dump.h:596
char * fdwvalidator
Definition: pg_dump.h:598
char * fdwoptions
Definition: pg_dump.h:599
DumpableAcl dacl
Definition: pg_dump.h:595
DumpableObject dobj
Definition: pg_dump.h:594
DumpableAcl dacl
Definition: pg_dump.h:605
char * srvoptions
Definition: pg_dump.h:610
DumpableObject dobj
Definition: pg_dump.h:604
const char * rolname
Definition: pg_dump.h:606
char * srvversion
Definition: pg_dump.h:609
bool postponed_def
Definition: pg_dump.h:246
Oid lang
Definition: pg_dump.h:242
const char * rolname
Definition: pg_dump.h:241
Oid * argtypes
Definition: pg_dump.h:244
Oid prorettype
Definition: pg_dump.h:245
DumpableObject dobj
Definition: pg_dump.h:239
int nargs
Definition: pg_dump.h:243
DumpableAcl dacl
Definition: pg_dump.h:240
IndxInfo * partitionIdx
Definition: pg_dump.h:437
DumpableObject dobj
Definition: pg_dump.h:435
IndxInfo * parentIdx
Definition: pg_dump.h:436
bool indisreplident
Definition: pg_dump.h:424
int indnkeyattrs
Definition: pg_dump.h:419
char * indstatvals
Definition: pg_dump.h:418
char * indstatcols
Definition: pg_dump.h:417
int indnattrs
Definition: pg_dump.h:420
TableInfo * indextable
Definition: pg_dump.h:413
Oid parentidx
Definition: pg_dump.h:426
Oid * indkeys
Definition: pg_dump.h:421
char * indreloptions
Definition: pg_dump.h:416
DumpId indexconstraint
Definition: pg_dump.h:430
bool indisclustered
Definition: pg_dump.h:423
SimplePtrList partattaches
Definition: pg_dump.h:427
char * tablespace
Definition: pg_dump.h:415
bool indnullsnotdistinct
Definition: pg_dump.h:425
char * indexdef
Definition: pg_dump.h:414
DumpableObject dobj
Definition: pg_dump.h:412
Oid inhparent
Definition: pg_dump.h:557
Oid inhrelid
Definition: pg_dump.h:556
const char * rolname
Definition: pg_dump.h:633
DumpableObject dobj
Definition: pg_dump.h:631
DumpableAcl dacl
Definition: pg_dump.h:632
Oid looids[FLEXIBLE_ARRAY_MEMBER]
Definition: pg_dump.h:635
int numlos
Definition: pg_dump.h:634
DumpableObject dobj
Definition: pg_dump.h:186
DumpableAcl dacl
Definition: pg_dump.h:187
const char * rolname
Definition: pg_dump.h:190
DumpableObject dobj
Definition: pg_dump.h:273
const char * rolname
Definition: pg_dump.h:274
const char * rolname
Definition: pg_dump.h:280
DumpableObject dobj
Definition: pg_dump.h:279
DumpableObject dobj
Definition: pg_dump.h:258
char oprkind
Definition: pg_dump.h:260
Oid oprcode
Definition: pg_dump.h:261
const char * rolname
Definition: pg_dump.h:259
TableInfo * poltable
Definition: pg_dump.h:647
char * polqual
Definition: pg_dump.h:652
char polcmd
Definition: pg_dump.h:649
char * polroles
Definition: pg_dump.h:651
char * polwithcheck
Definition: pg_dump.h:653
DumpableObject dobj
Definition: pg_dump.h:646
bool polpermissive
Definition: pg_dump.h:650
char * polname
Definition: pg_dump.h:648
Oid lanvalidator
Definition: pg_dump.h:530
DumpableAcl dacl
Definition: pg_dump.h:526
DumpableObject dobj
Definition: pg_dump.h:525
Oid laninline
Definition: pg_dump.h:529
const char * lanowner
Definition: pg_dump.h:531
Oid lanplcallfoid
Definition: pg_dump.h:528
bool lanpltrusted
Definition: pg_dump.h:527
DumpableObject dobj
Definition: pg_dump.h:562
Oid prstoken
Definition: pg_dump.h:564
Oid prslextype
Definition: pg_dump.h:567
Oid prsheadline
Definition: pg_dump.h:566
Oid prsstart
Definition: pg_dump.h:563
Oid prsend
Definition: pg_dump.h:565
int32 nindAttNames
Definition: pg_dump.h:454
char relkind
Definition: pg_dump.h:447
char ** indAttNames
Definition: pg_dump.h:453
int32 relpages
Definition: pg_dump.h:443
int32 relallfrozen
Definition: pg_dump.h:446
char * reltuples
Definition: pg_dump.h:444
teSection section
Definition: pg_dump.h:455
int32 relallvisible
Definition: pg_dump.h:445
DumpableObject dobj
Definition: pg_dump.h:442
DumpableObject dobj
Definition: pg_dump.h:468
bool separate
Definition: pg_dump.h:473
char ev_enabled
Definition: pg_dump.h:472
bool is_instead
Definition: pg_dump.h:471
TableInfo * ruletable
Definition: pg_dump.h:469
char ev_type
Definition: pg_dump.h:470
TypeInfo * baseType
Definition: pg_dump.h:234
DumpableObject dobj
Definition: pg_dump.h:232
TableInfo * stattable
Definition: pg_dump.h:462
int stattarget
Definition: pg_dump.h:463
const char * rolname
Definition: pg_dump.h:461
DumpableObject dobj
Definition: pg_dump.h:460
TableInfo * partitionTbl
Definition: pg_dump.h:391
DumpableObject dobj
Definition: pg_dump.h:389
TableInfo * parentTbl
Definition: pg_dump.h:390
TableInfo * tdtable
Definition: pg_dump.h:406
DumpableObject dobj
Definition: pg_dump.h:405
char * filtercond
Definition: pg_dump.h:407
bool * notnull_invalid
Definition: pg_dump.h:368
char * attidentity
Definition: pg_dump.h:354
char * reltablespace
Definition: pg_dump.h:307
char ** notnull_constrs
Definition: pg_dump.h:364
struct _relStatsInfo * stats
Definition: pg_dump.h:373
int ncheck
Definition: pg_dump.h:323
bool ispartition
Definition: pg_dump.h:337
struct _indxInfo * indexes
Definition: pg_dump.h:381
bool * attislocal
Definition: pg_dump.h:358
DumpableObject dobj
Definition: pg_dump.h:300
bool is_identity_sequence
Definition: pg_dump.h:330
Oid reloftype
Definition: pg_dump.h:325
int numParents
Definition: pg_dump.h:340
bool interesting
Definition: pg_dump.h:334
char * toast_reloptions
Definition: pg_dump.h:310
struct _tableInfo ** parents
Definition: pg_dump.h:341
DumpableAcl dacl
Definition: pg_dump.h:301
bool relispopulated
Definition: pg_dump.h:305
char * attgenerated
Definition: pg_dump.h:355
int * attlen
Definition: pg_dump.h:356
Oid reltype
Definition: pg_dump.h:324
char ** attfdwoptions
Definition: pg_dump.h:362
bool hasoids
Definition: pg_dump.h:317
Oid toast_oid
Definition: pg_dump.h:320
Oid foreign_server
Definition: pg_dump.h:326
bool hasrules
Definition: pg_dump.h:312
struct _triggerInfo * triggers
Definition: pg_dump.h:384
bool * attisdropped
Definition: pg_dump.h:353
bool needs_override
Definition: pg_dump.h:374
struct _constraintInfo * checkexprs
Definition: pg_dump.h:372
int * attstattarget
Definition: pg_dump.h:350
bool * notnull_islocal
Definition: pg_dump.h:370
uint32 frozenxid
Definition: pg_dump.h:318
char * typstorage
Definition: pg_dump.h:352
int owning_col
Definition: pg_dump.h:329
char * checkoption
Definition: pg_dump.h:309
int numatts
Definition: pg_dump.h:347
bool hastriggers
Definition: pg_dump.h:313
const char * rolname
Definition: pg_dump.h:302
struct _attrDefInfo ** attrdefs
Definition: pg_dump.h:371
char ** attoptions
Definition: pg_dump.h:359
char relreplident
Definition: pg_dump.h:306
int numTriggers
Definition: pg_dump.h:383
uint32 minmxid
Definition: pg_dump.h:319
Oid * attcollation
Definition: pg_dump.h:360
bool * notnull_noinh
Definition: pg_dump.h:369
char * attstorage
Definition: pg_dump.h:351
int toastpages
Definition: pg_dump.h:332
Oid owning_tab
Definition: pg_dump.h:328
struct _tableDataInfo * dataObj
Definition: pg_dump.h:382
char * amname
Definition: pg_dump.h:375
bool dummy_view
Definition: pg_dump.h:335
int32 relpages
Definition: pg_dump.h:331
bool forcerowsec
Definition: pg_dump.h:316
bool hascolumnACLs
Definition: pg_dump.h:314
char ** atttypnames
Definition: pg_dump.h:349
char ** attmissingval
Definition: pg_dump.h:363
char relpersistence
Definition: pg_dump.h:304
char ** attnames
Definition: pg_dump.h:348
char relkind
Definition: pg_dump.h:303
bool hasindex
Definition: pg_dump.h:311
bool unsafe_partitions
Definition: pg_dump.h:338
char * reloptions
Definition: pg_dump.h:308
int numIndexes
Definition: pg_dump.h:380
uint32 toast_frozenxid
Definition: pg_dump.h:321
uint32 toast_minmxid
Definition: pg_dump.h:322
char * attalign
Definition: pg_dump.h:357
char * attcompression
Definition: pg_dump.h:361
bool postponed_def
Definition: pg_dump.h:336
bool rowsec
Definition: pg_dump.h:315
Oid tmpllexize
Definition: pg_dump.h:582
Oid tmplinit
Definition: pg_dump.h:581
DumpableObject dobj
Definition: pg_dump.h:580
DumpableObject dobj
Definition: pg_dump.h:546
Oid trffromsql
Definition: pg_dump.h:549
TableInfo * tgtable
Definition: pg_dump.h:480
DumpableObject dobj
Definition: pg_dump.h:479
char tgenabled
Definition: pg_dump.h:481
char * tgdef
Definition: pg_dump.h:483
bool tgispartition
Definition: pg_dump.h:482
bool isMultirange
Definition: pg_dump.h:221
struct _constraintInfo * domChecks
Definition: pg_dump.h:227
DumpableAcl dacl
Definition: pg_dump.h:206
DumpableObject dobj
Definition: pg_dump.h:205
bool isDefined
Definition: pg_dump.h:222
char * ftypname
Definition: pg_dump.h:213
char typrelkind
Definition: pg_dump.h:218
Oid typarray
Definition: pg_dump.h:217
Oid typelem
Definition: pg_dump.h:215
struct _shellTypeInfo * shellType
Definition: pg_dump.h:224
int nDomChecks
Definition: pg_dump.h:226
char typtype
Definition: pg_dump.h:219
const char * rolname
Definition: pg_dump.h:214
Oid typrelid
Definition: pg_dump.h:216
bool isArray
Definition: pg_dump.h:220