mirror of
https://github.com/postgres/postgres.git
synced 2026-06-09 08:42:38 -04:00
follows recent pghackers discussion. This commit includes all the relevant fixes from Greg Mullane's patch of 24-June.
46 lines
1,011 B
C
46 lines
1,011 B
C
/*
|
|
* psql - the PostgreSQL interactive terminal
|
|
*
|
|
* Copyright 2000-2002 by PostgreSQL Global Development Group
|
|
*
|
|
* $Header: /cvsroot/pgsql/src/bin/psql/describe.h,v 1.17 2002/08/10 03:56:24 tgl Exp $
|
|
*/
|
|
#ifndef DESCRIBE_H
|
|
#define DESCRIBE_H
|
|
|
|
#include "settings.h"
|
|
|
|
/* \da */
|
|
bool describeAggregates(const char *pattern, bool verbose);
|
|
|
|
/* \df */
|
|
bool describeFunctions(const char *pattern, bool verbose);
|
|
|
|
/* \dT */
|
|
bool describeTypes(const char *pattern, bool verbose);
|
|
|
|
/* \do */
|
|
bool describeOperators(const char *pattern);
|
|
|
|
/* \du */
|
|
bool describeUsers(const char *pattern);
|
|
|
|
/* \z (or \dp) */
|
|
bool permissionsList(const char *pattern);
|
|
|
|
/* \dd */
|
|
bool objectDescription(const char *pattern);
|
|
|
|
/* \d foo */
|
|
bool describeTableDetails(const char *pattern, bool verbose);
|
|
|
|
/* \l */
|
|
bool listAllDbs(bool desc);
|
|
|
|
/* \dt, \di, \ds, \dS, etc. */
|
|
bool listTables(const char *tabtypes, const char *pattern, bool verbose);
|
|
|
|
/* \dD */
|
|
bool listDomains(const char *pattern);
|
|
|
|
#endif /* DESCRIBE_H */
|