psql expanded auto - Mailing list pgsql-hackers

From Peter Eisentraut
Subject psql expanded auto
Date
Msg-id 1292623970.22053.8.camel@vanquo.pezone.net
Whole thread Raw
Responses Re: psql expanded auto  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Re: psql expanded auto  (Bruce Momjian <bruce@momjian.us>)
Re: psql expanded auto  (Bruce Momjian <bruce@momjian.us>)
Re: psql expanded auto  (Peter Eisentraut <peter_e@gmx.net>)
Re: psql expanded auto  (Peter Geoghegan <peter@2ndquadrant.com>)
List pgsql-hackers
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.


Attachment

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: proposal : cross-column stats
Next
From: Tom Lane
Date:
Subject: Re: Why don't we accept exponential format for integers?