Re: psql expanded auto

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org
Date: 2011-01-06T19:59:41Z
Lists: pgsql-hackers
Peter Eisentraut wrote:
> I have often found myself wanting that psql automatically switch between
> normal and \x mode depending on the width of the output.  Would others
> find this useful?
> 
> Attached is a crude demo patch.  Enable with \pset expanded auto.

It is a TODO:

	Add auto-expanded mode so expanded output is used if the row length is
	wider than the screen width.
	
	    Consider using auto-expanded mode for backslash commands like \df+. 

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +