Add psql expanded auto mode

Peter Eisentraut <peter_e@gmx.net>

Commit: 95d2af1646080474ad3e1f1303e68dd5799f9cad
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-11-12T15:03:10Z
Releases: 9.2.0
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

Files

PathChange+/−
doc/src/sgml/ref/psql-ref.sgml modified +19 −13
src/bin/psql/command.c modified +13 −6
src/bin/psql/help.c modified +2 −2
src/bin/psql/print.c modified +37 −14
src/bin/psql/print.h modified +2 −2