aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/describe.h
blob: 8f165b4f805e0533cddc8b0c74502645f9b25ea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef DESCRIBE_H
#define DESCRIBE_H

#include "settings.h"

/* \da */
bool
describeAggregates(const char * name, PsqlSettings * pset);

/* \df */
bool
describeFunctions(const char * name, PsqlSettings * pset);

/* \dT */
bool
describeTypes(const char * name, PsqlSettings * pset);

/* \do */
bool
describeOperators(const char * name, PsqlSettings * pset);

/* \dp (formerly \z) */
bool
permissionsList(const char * name, PsqlSettings *pset);

/* \dd */
bool
objectDescription(const char * object, PsqlSettings *pset);

/* \d foo */
bool
describeTableDetails(const char * name, PsqlSettings * pset);

/* \l */
bool
listAllDbs(PsqlSettings *pset);

/* \dt, \di, \dS, etc. */
bool
listTables(const char * infotype, const char * name, PsqlSettings * pset);

#endif /* DESCRIBE_H */