Skip site navigation (1) Skip section navigation (2)

Re: psql expanded auto

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql expanded auto
Date: 2011-01-06 19:59:41
Message-ID: 201101061959.p06Jxfs17074@momjian.us (view raw or flat)
Thread:
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(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

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

In response to

pgsql-hackers by date

Next:From: Stephen FrostDate: 2011-01-06 20:20:48
Subject: DISCARD ALL ; stored procedures
Previous:From: Bruce MomjianDate: 2011-01-06 18:59:28
Subject: Re: Problem with pg_upgrade (8.4 -> 9.0) due to ALTER DATABASE SET ROLE

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group