Re: psql expanded auto

From: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql expanded auto
Date: 2010-12-18 05:08:13
Message-ID: AANLkTimo-JtczPsU_-06k+CKvHbAK4FNu=QNBDh0JkQ7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Dec 18, 2010 at 07:12, Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-12-18 05:21:41 Re: unlogged tables
Previous Message Itagaki Takahiro 2010-12-18 04:01:02 Re: SQL/MED - file_fdw