2 * psql - the PostgreSQL interactive terminal
4 * Copyright (c) 2000-2021, PostgreSQL Global Development Group
6 * src/bin/psql/describe.h
13 extern bool describeAggregates(const char *pattern
, bool verbose
, bool showSystem
);
16 extern bool describeAccessMethods(const char *pattern
, bool verbose
);
19 extern bool describeTablespaces(const char *pattern
, bool verbose
);
21 /* \df, \dfa, \dfn, \dft, \dfw, etc. */
22 extern bool describeFunctions(const char *functypes
, const char *func_pattern
,
23 char **arg_patterns
, int num_arg_patterns
,
24 bool verbose
, bool showSystem
);
27 extern bool describeTypes(const char *pattern
, bool verbose
, bool showSystem
);
30 extern bool describeOperators(const char *oper_pattern
,
31 char **arg_patterns
, int num_arg_patterns
,
32 bool verbose
, bool showSystem
);
35 extern bool describeRoles(const char *pattern
, bool verbose
, bool showSystem
);
38 extern bool listDbRoleSettings(const char *pattern
, const char *pattern2
);
41 extern bool permissionsList(const char *pattern
);
44 extern bool listDefaultACLs(const char *pattern
);
47 extern bool objectDescription(const char *pattern
, bool showSystem
);
50 extern bool describeTableDetails(const char *pattern
, bool verbose
, bool showSystem
);
53 extern bool listTSConfigs(const char *pattern
, bool verbose
);
56 extern bool listTSParsers(const char *pattern
, bool verbose
);
59 extern bool listTSDictionaries(const char *pattern
, bool verbose
);
62 extern bool listTSTemplates(const char *pattern
, bool verbose
);
65 extern bool listAllDbs(const char *pattern
, bool verbose
);
67 /* \dt, \di, \ds, \dS, etc. */
68 extern bool listTables(const char *tabtypes
, const char *pattern
, bool verbose
, bool showSystem
);
71 extern bool listPartitionedTables(const char *reltypes
, const char *pattern
, bool verbose
);
74 extern bool listDomains(const char *pattern
, bool verbose
, bool showSystem
);
77 extern bool listConversions(const char *pattern
, bool verbose
, bool showSystem
);
80 extern bool listCasts(const char *pattern
, bool verbose
);
83 extern bool listCollations(const char *pattern
, bool verbose
, bool showSystem
);
86 extern bool listSchemas(const char *pattern
, bool verbose
, bool showSystem
);
89 extern bool listForeignDataWrappers(const char *pattern
, bool verbose
);
92 extern bool listForeignServers(const char *pattern
, bool verbose
);
95 extern bool listUserMappings(const char *pattern
, bool verbose
);
98 extern bool listForeignTables(const char *pattern
, bool verbose
);
101 extern bool listLanguages(const char *pattern
, bool verbose
, bool showSystem
);
104 extern bool listExtensions(const char *pattern
);
107 extern bool listExtensionContents(const char *pattern
);
110 extern bool listExtendedStats(const char *pattern
);
113 extern bool listEventTriggers(const char *pattern
, bool verbose
);
116 bool listPublications(const char *pattern
);
119 bool describePublications(const char *pattern
);
122 bool describeSubscriptions(const char *pattern
, bool verbose
);
125 extern bool listOperatorClasses(const char *access_method_pattern
,
126 const char *opclass_pattern
,
130 extern bool listOperatorFamilies(const char *access_method_pattern
,
131 const char *opclass_pattern
,
135 extern bool listOpFamilyOperators(const char *accessMethod_pattern
,
136 const char *family_pattern
, bool verbose
);
139 extern bool listOpFamilyFunctions(const char *access_method_pattern
,
140 const char *family_pattern
, bool verbose
);
143 #endif /* DESCRIBE_H */