]> granicus.if.org Git - postgresql/blob - src/bin/psql/describe.h
Have \dn+ show permissions and description for schemas.
[postgresql] / src / bin / psql / describe.h
1 /*
2  * psql - the PostgreSQL interactive terminal
3  *
4  * Copyright (c) 2000-2003, PostgreSQL Global Development Group
5  *
6  * $PostgreSQL: pgsql/src/bin/psql/describe.h,v 1.25 2004/07/13 16:48:16 momjian Exp $
7  */
8 #ifndef DESCRIBE_H
9 #define DESCRIBE_H
10
11 #include "settings.h"
12
13 /* \da */
14 bool            describeAggregates(const char *pattern, bool verbose);
15
16 /* \db */
17 bool            describeTablespaces(const char *pattern);
18
19 /* \df */
20 bool            describeFunctions(const char *pattern, bool verbose);
21
22 /* \dT */
23 bool            describeTypes(const char *pattern, bool verbose);
24
25 /* \do */
26 bool            describeOperators(const char *pattern);
27
28 /* \du */
29 bool            describeUsers(const char *pattern);
30
31 /* \dg */
32 bool            describeGroups(const char *pattern);
33
34 /* \z (or \dp) */
35 bool            permissionsList(const char *pattern);
36
37 /* \dd */
38 bool            objectDescription(const char *pattern);
39
40 /* \d foo */
41 bool            describeTableDetails(const char *pattern, bool verbose);
42
43 /* \l */
44 bool            listAllDbs(bool verbose);
45
46 /* \dt, \di, \ds, \dS, etc. */
47 bool            listTables(const char *tabtypes, const char *pattern, bool verbose);
48
49 /* \dD */
50 bool            listDomains(const char *pattern);
51
52 /* \dc */
53 bool            listConversions(const char *pattern);
54
55 /* \dC */
56 bool            listCasts(const char *pattern);
57
58 /* \dn */
59 bool            listSchemas(const char *pattern, bool verbose);
60
61
62 #endif   /* DESCRIBE_H */