]> granicus.if.org Git - postgresql/blob - src/bin/psql/describe.h
psql backslash commands are schema-aware. Pattern matching behavior
[postgresql] / src / bin / psql / describe.h
1 /*
2  * psql - the PostgreSQL interactive terminal
3  *
4  * Copyright 2000-2002 by PostgreSQL Global Development Group
5  *
6  * $Header: /cvsroot/pgsql/src/bin/psql/describe.h,v 1.17 2002/08/10 03:56:24 tgl 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 /* \df */
17 bool            describeFunctions(const char *pattern, bool verbose);
18
19 /* \dT */
20 bool            describeTypes(const char *pattern, bool verbose);
21
22 /* \do */
23 bool            describeOperators(const char *pattern);
24
25 /* \du */
26 bool            describeUsers(const char *pattern);
27
28 /* \z (or \dp) */
29 bool            permissionsList(const char *pattern);
30
31 /* \dd */
32 bool            objectDescription(const char *pattern);
33
34 /* \d foo */
35 bool            describeTableDetails(const char *pattern, bool verbose);
36
37 /* \l */
38 bool            listAllDbs(bool desc);
39
40 /* \dt, \di, \ds, \dS, etc. */
41 bool            listTables(const char *tabtypes, const char *pattern, bool verbose);
42
43 /* \dD */
44 bool            listDomains(const char *pattern);
45
46 #endif   /* DESCRIBE_H */