psql: Add option to use expanded mode to all list commands. This allows "x" to be appended to any psql list-like meta-command, forcing its output to be displayed in expanded mode. This improves readability in cases where the output is very wide. For example, "\dfx+" (or equivalently "\df+x") will produce a list of functions, with additional details, in expanded mode.
This works with all \d* meta-commands, plus \l, \z, and \lo_list, with the one exception that the expanded mode option "x" cannot be appended to "\d" by itself, since "\dx" already means something else. Dean Rasheed, reviewed by Greg Sabino Mullane. Discussion: https://postgr.es/m/caezatcvxjk3ksmcncf7pavbxddaudm3qzdggt7mbyyswiku...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/00f4c2959d631c7851da21a512885d1deab28649 Modified Files -------------- doc/src/sgml/ref/psql-ref.sgml | 275 +++++++++++++++++++++++++++---------- src/bin/psql/command.c | 68 ++++++++- src/bin/psql/describe.c | 4 +- src/bin/psql/help.c | 106 +++++++------- src/test/regress/expected/psql.out | 90 ++++++++++++ src/test/regress/sql/psql.sql | 6 + 6 files changed, 418 insertions(+), 131 deletions(-)