Обсуждение: pgsql: Add psql expanded auto mode

Поиск
Список
Период
Сортировка

pgsql: Add psql expanded auto mode

От
Peter Eisentraut
Дата:
Add psql expanded auto mode

This adds the "auto" option to the \x command, which switches to the
expanded mode when the normal output would be wider than the screen.

reviewed by Noah Misch

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/95d2af1646080474ad3e1f1303e68dd5799f9cad

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |   32 +++++++++++++++----------
src/bin/psql/command.c         |   19 ++++++++++----
src/bin/psql/help.c            |    4 +-
src/bin/psql/print.c           |   51 +++++++++++++++++++++++++++++-----------
src/bin/psql/print.h           |    4 +-
5 files changed, 73 insertions(+), 37 deletions(-)