Re: psql expanded auto - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: psql expanded auto
Date
Msg-id AANLkTimo-JtczPsU_-06k+CKvHbAK4FNu=QNBDh0JkQ7@mail.gmail.com
Whole thread Raw
In response to psql expanded auto  (Peter Eisentraut <peter_e@gmx.net>)
List 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


pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: SQL/MED - file_fdw
Next
From: Robert Haas
Date:
Subject: Re: unlogged tables