mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Disable expanded mode only for \d tablename, not for all backslash
commands. Per complaint that \df+ is clearer in expanded mode.
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.128 2005/10/20 05:15:09 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.129 2005/10/27 13:34:47 momjian Exp $
|
||||
*/
|
||||
#include "postgres_fe.h"
|
||||
#include "describe.h"
|
||||
@ -703,6 +703,9 @@ describeOneTableDetails(const char *schemaname,
|
||||
|
||||
retval = false;
|
||||
|
||||
/* This output looks confusing in expanded mode. */
|
||||
myopt.expanded = false;
|
||||
|
||||
initPQExpBuffer(&buf);
|
||||
initPQExpBuffer(&title);
|
||||
initPQExpBuffer(&tmpbuf);
|
||||
|
Reference in New Issue
Block a user