Re: psql expanded auto - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: psql expanded auto
Date
Msg-id 201101061959.p06Jxfs17074@momjian.us
Whole thread Raw
In response to psql expanded auto  (Peter Eisentraut <peter_e@gmx.net>)
List 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 iswider than the screen width.    Consider using
auto-expandedmode 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. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Problem with pg_upgrade (8.4 -> 9.0) due to ALTER DATABASE SET ROLE
Next
From: Stephen Frost
Date:
Subject: DISCARD ALL ; stored procedures