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