Add psql expanded auto mode
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 12 Nov 2011 15:03:10 +0000 (17:03 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 12 Nov 2011 15:03:10 +0000 (17:03 +0200)
commit95d2af1646080474ad3e1f1303e68dd5799f9cad
treef6983d202744cbff88419f582f61c17c6e740bc3
parentaa3299f25601c1a27e52c1c49e92b7f11441e76b
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
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/command.c
src/bin/psql/help.c
src/bin/psql/print.c
src/bin/psql/print.h