• Peter Eisentraut's avatar
    A few minor psql enhancements · 2b84cbb6
    Peter Eisentraut authored
    Initdb help correction
    Changed end/abort to commit/rollback and changed related notices
    Commented out way old printing functions in libpq
    Fixed a typo in alter table / alter column
    2b84cbb6
describe.h 867 Bytes
/*
 * 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 */