summaryrefslogtreecommitdiff
path: root/src/bin/psql/describe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/describe.h')
-rw-r--r--src/bin/psql/describe.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/bin/psql/describe.h b/src/bin/psql/describe.h
new file mode 100644
index 0000000000..8f165b4f80
--- /dev/null
+++ b/src/bin/psql/describe.h
@@ -0,0 +1,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 */