PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
describe.h
Go to the documentation of this file.
1 /*
2  * psql - the PostgreSQL interactive terminal
3  *
4  * Copyright (c) 2000-2017, 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 /* \dD */
67 extern bool listDomains(const char *pattern, bool verbose, bool showSystem);
68 
69 /* \dc */
70 extern bool listConversions(const char *pattern, bool verbose, bool showSystem);
71 
72 /* \dC */
73 extern bool listCasts(const char *pattern, bool verbose);
74 
75 /* \dO */
76 extern bool listCollations(const char *pattern, bool verbose, bool showSystem);
77 
78 /* \dn */
79 extern bool listSchemas(const char *pattern, bool verbose, bool showSystem);
80 
81 /* \dew */
82 extern bool listForeignDataWrappers(const char *pattern, bool verbose);
83 
84 /* \des */
85 extern bool listForeignServers(const char *pattern, bool verbose);
86 
87 /* \deu */
88 extern bool listUserMappings(const char *pattern, bool verbose);
89 
90 /* \det */
91 extern bool listForeignTables(const char *pattern, bool verbose);
92 
93 /* \dL */
94 extern bool listLanguages(const char *pattern, bool verbose, bool showSystem);
95 
96 /* \dx */
97 extern bool listExtensions(const char *pattern);
98 
99 /* \dx+ */
100 extern bool listExtensionContents(const char *pattern);
101 
102 /* \dy */
103 extern bool listEventTriggers(const char *pattern, bool verbose);
104 
105 /* \dRp */
106 bool listPublications(const char *pattern);
107 
108 /* \dRp+ */
109 bool describePublications(const char *pattern);
110 
111 /* \dRs */
112 bool describeSubscriptions(const char *pattern, bool verbose);
113 
114 #endif /* DESCRIBE_H */
bool listTables(const char *tabtypes, const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:3304
bool listCasts(const char *pattern, bool verbose)
Definition: describe.c:3770
bool listDomains(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:3542
bool listEventTriggers(const char *pattern, bool verbose)
Definition: describe.c:3704
bool listUserMappings(const char *pattern, bool verbose)
Definition: describe.c:4770
bool describeTablespaces(const char *pattern, bool verbose)
Definition: describe.c:208
bool listTSConfigs(const char *pattern, bool verbose)
Definition: describe.c:4399
bool listExtensionContents(const char *pattern)
Definition: describe.c:4966
bool describeSubscriptions(const char *pattern, bool verbose)
Definition: describe.c:5287
bool listForeignTables(const char *pattern, bool verbose)
Definition: describe.c:4831
bool listAllDbs(const char *pattern, bool verbose)
Definition: describe.c:785
bool listExtensions(const char *pattern)
Definition: describe.c:4909
bool listConversions(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:3628
bool listPublications(const char *pattern)
Definition: describe.c:5079
bool listForeignServers(const char *pattern, bool verbose)
Definition: describe.c:4688
bool describePublications(const char *pattern)
Definition: describe.c:5146
bool permissionsList(const char *pattern)
Definition: describe.c:855
bool describeAggregates(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:62
bool listTSParsers(const char *pattern, bool verbose)
Definition: describe.c:4010
bool listDbRoleSettings(const char *pattern1, const char *pattern2)
Definition: describe.c:3220
static int verbose
Definition: pg_basebackup.c:84
bool describeTableDetails(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:1292
bool listForeignDataWrappers(const char *pattern, bool verbose)
Definition: describe.c:4605
bool listTSTemplates(const char *pattern, bool verbose)
Definition: describe.c:4328
bool describeOperators(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:708
bool describeRoles(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:3049
bool describeAccessMethods(const char *pattern, bool verbose)
Definition: describe.c:140
bool listTSDictionaries(const char *pattern, bool verbose)
Definition: describe.c:4257
bool listSchemas(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:3953
bool objectDescription(const char *pattern, bool showSystem)
Definition: describe.c:1100
bool describeTypes(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:592
bool describeFunctions(const char *functypes, const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:303
bool listDefaultACLs(const char *pattern)
Definition: describe.c:1015
bool listCollations(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:3869
bool listLanguages(const char *pattern, bool verbose, bool showSystem)
Definition: describe.c:3467