pgsql: Add psql expanded auto mode

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add psql expanded auto mode
Date: 2011-11-12 15:07:01
Message-ID: E1RPFAb-0003O2-Go@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-11-12 23:49:26 pgsql: In plpgsql, allow foreign tables to define row types.
Previous Message Robert Haas 2011-11-12 06:23:29 pgsql: Avoid retaining multiple relation locks in RangeVarGetRelid.