diff options
Diffstat (limited to 'src/bin/psql/describe.c')
-rw-r--r-- | src/bin/psql/describe.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 9db62ce9bdb..a9285b7bb49 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.20 2000/04/16 15:46:40 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.21 2000/04/16 20:04:51 petere Exp $ */ #include "postgres.h" #include "describe.h" @@ -973,6 +973,10 @@ listTables(const char *infotype, const char *name, bool desc) PGresult *res; printQueryOpt myopt = pset.popt; + if (showSystem && !(showSeq || showIndices || showViews || showTables)) + showTables = showViews = showSeq = true; + + buf[0] = '\0'; /* tables */ |