Re: psql expanded auto
Itagaki Takahiro <itagaki.takahiro@gmail.com>
From: Itagaki Takahiro <itagaki.takahiro@gmail.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org
Date: 2010-12-18T05:08:13Z
Lists: pgsql-hackers
On Sat, Dec 18, 2010 at 07:12, Peter Eisentraut <peter_e@gmx.net> 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? +1 > Attached is a crude demo patch. Enable with \pset expanded auto. How about adding not only "auto" but also "on" and "off" as arguments for \x? If not specified, the default behavior will be still "toggle". -- Itagaki Takahiro