diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-10-27 13:34:47 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-10-27 13:34:47 +0000 |
commit | 3332e38189b27b64428db4f0bcd5459800de1cfc (patch) | |
tree | 79dce25e92a44802c7709ed2af3e898c9fd28af4 /src/bin/psql/print.c | |
parent | 69f16b562a9088d708a588333afcf16e84317a4e (diff) | |
download | postgresql-3332e38189b27b64428db4f0bcd5459800de1cfc.tar.gz postgresql-3332e38189b27b64428db4f0bcd5459800de1cfc.zip |
Disable expanded mode only for \d tablename, not for all backslash
commands. Per complaint that \df+ is clearer in expanded mode.
Diffstat (limited to 'src/bin/psql/print.c')
-rw-r--r-- | src/bin/psql/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c index 3d2a1fa1754..65d107acc4c 100644 --- a/src/bin/psql/print.c +++ b/src/bin/psql/print.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2005, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.78 2005/10/15 02:49:40 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.79 2005/10/27 13:34:47 momjian Exp $ */ #include "postgres_fe.h" #include "common.h" @@ -1491,7 +1491,7 @@ printTable(const char *title, * normal (user-submitted) query, not a table we're printing for a slash * command. */ - if (opt->expanded && opt->normal_query) + if (opt->expanded) use_expanded = true; else use_expanded = false; |