aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/describe.h
blob: 164c7044e7055f19ddf1594d40b9b71e9d64c498 (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
#ifndef DESCRIBE_H
#define DESCRIBE_H

#include <c.h>
#include "settings.h"

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

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

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

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

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

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

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

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

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

#endif	 /* DESCRIBE_H */