Re: psql expanded auto

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql expanded auto
Date: 2011-11-01 04:22:47
Message-ID: 1320121367.523.1.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I 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.

Here is a finalized patch for this. The first hunk of the patch is the
documentation change, so you can see there how it's supposed to work.
Let me know what you think.

Attachment Content-Type Size
psql-expanded-auto.patch text/x-patch 9.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2011-11-01 04:33:32 Re: GiST for range types (was Re: Range Types - typo + NULL string constructor)
Previous Message Scott Mead 2011-10-31 23:18:42 Re: IDLE in transaction introspection