aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/describe.h
blob: 36f4ceca4ea6a7bec8425601ab9be533deb4ba61 (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
/*
 * psql - the PostgreSQL interactive terminal
 *
 * Copyright 2000 by PostgreSQL Global Development Group
 *
 * $Header: /cvsroot/pgsql/src/bin/psql/describe.h,v 1.7 2000/01/29 16:58:48 petere Exp $
 */
#ifndef DESCRIBE_H
#define DESCRIBE_H

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

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

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

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

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

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

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

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

/* \l */
bool listAllDbs(bool desc);

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

#endif	 /* DESCRIBE_H */