1/*
2 * psql - the PostgreSQL interactive terminal
3 *
4 * Copyright (c) 2000-2019, PostgreSQL Global Development Group
5 *
6 * src/bin/psql/describe.h
7 */
8#ifndef DESCRIBE_H
9#define DESCRIBE_H
10
11
12/* \da */
13extern bool describeAggregates(const char *pattern, bool verbose, bool showSystem);
14
15/* \dA */
16extern bool describeAccessMethods(const char *pattern, bool verbose);
17
18/* \db */
19extern bool describeTablespaces(const char *pattern, bool verbose);
20
21/* \df, \dfa, \dfn, \dft, \dfw, etc. */
22extern bool describeFunctions(const char *functypes, const char *pattern, bool verbose, bool showSystem);
23
24/* \dT */
25extern bool describeTypes(const char *pattern, bool verbose, bool showSystem);
26
27/* \do */
28extern bool describeOperators(const char *pattern, bool verbose, bool showSystem);
29
30/* \du, \dg */
31extern bool describeRoles(const char *pattern, bool verbose, bool showSystem);
32
33/* \drds */
34extern bool listDbRoleSettings(const char *pattern1, const char *pattern2);
35
36/* \z (or \dp) */
37extern bool permissionsList(const char *pattern);
38
39/* \ddp */
40extern bool listDefaultACLs(const char *pattern);
41
42/* \dd */
43extern bool objectDescription(const char *pattern, bool showSystem);
44
45/* \d foo */
46extern bool describeTableDetails(const char *pattern, bool verbose, bool showSystem);
47
48/* \dF */
49extern bool listTSConfigs(const char *pattern, bool verbose);
50
51/* \dFp */
52extern bool listTSParsers(const char *pattern, bool verbose);
53
54/* \dFd */
55extern bool listTSDictionaries(const char *pattern, bool verbose);
56
57/* \dFt */
58extern bool listTSTemplates(const char *pattern, bool verbose);
59
60/* \l */
61extern bool listAllDbs(const char *pattern, bool verbose);
62
63/* \dt, \di, \ds, \dS, etc. */
64extern bool listTables(const char *tabtypes, const char *pattern, bool verbose, bool showSystem);
65
66/* \dP */
67extern bool listPartitionedTables(const char *reltypes, const char *pattern, bool verbose);
68
69/* \dD */
70extern bool listDomains(const char *pattern, bool verbose, bool showSystem);
71
72/* \dc */
73extern bool listConversions(const char *pattern, bool verbose, bool showSystem);
74
75/* \dC */
76extern bool listCasts(const char *pattern, bool verbose);
77
78/* \dO */
79extern bool listCollations(const char *pattern, bool verbose, bool showSystem);
80
81/* \dn */
82extern bool listSchemas(const char *pattern, bool verbose, bool showSystem);
83
84/* \dew */
85extern bool listForeignDataWrappers(const char *pattern, bool verbose);
86
87/* \des */
88extern bool listForeignServers(const char *pattern, bool verbose);
89
90/* \deu */
91extern bool listUserMappings(const char *pattern, bool verbose);
92
93/* \det */
94extern bool listForeignTables(const char *pattern, bool verbose);
95
96/* \dL */
97extern bool listLanguages(const char *pattern, bool verbose, bool showSystem);
98
99/* \dx */
100extern bool listExtensions(const char *pattern);
101
102/* \dx+ */
103extern bool listExtensionContents(const char *pattern);
104
105/* \dy */
106extern bool listEventTriggers(const char *pattern, bool verbose);
107
108/* \dRp */
109bool listPublications(const char *pattern);
110
111/* \dRp+ */
112bool describePublications(const char *pattern);
113
114/* \dRs */
115bool describeSubscriptions(const char *pattern, bool verbose);
116
117#endif /* DESCRIBE_H */
118