]> granicus.if.org Git - postgresql/blob - src/bin/psql/describe.h
A few minor psql enhancements
[postgresql] / src / bin / psql / describe.h
1 /*
2  * psql - the PostgreSQL interactive terminal
3  *
4  * Copyright 2000 by PostgreSQL Global Development Group
5  *
6  * $Header: /cvsroot/pgsql/src/bin/psql/describe.h,v 1.7 2000/01/29 16:58:48 petere Exp $
7  */
8 #ifndef DESCRIBE_H
9 #define DESCRIBE_H
10
11 #include <c.h>
12 #include "settings.h"
13
14 /* \da */
15 bool describeAggregates(const char *name);
16
17 /* \df */
18 bool describeFunctions(const char *name, bool verbose);
19
20 /* \dT */
21 bool describeTypes(const char *name, bool verbose);
22
23 /* \do */
24 bool describeOperators(const char *name);
25
26 /* \z (or \dp) */
27 bool permissionsList(const char *name);
28
29 /* \dd */
30 bool objectDescription(const char *object);
31
32 /* \d foo */
33 bool describeTableDetails(const char *name, bool desc);
34
35 /* \l */
36 bool listAllDbs(bool desc);
37
38 /* \dt, \di, \ds, \dS, etc. */
39 bool listTables(const char *infotype, const char *name, bool desc);
40
41 #endif   /* DESCRIBE_H */