Re: psql expanded auto - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: psql expanded auto
Date
Msg-id 1320121367.523.1.camel@vanquo.pezone.net
Whole thread Raw
In response to psql expanded auto  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: psql expanded auto
Re: psql expanded auto
Re: psql expanded auto
List 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

pgsql-hackers by date:

Previous
From: Scott Mead
Date:
Subject: Re: IDLE in transaction introspection
Next
From: Jeff Davis
Date:
Subject: Re: GiST for range types (was Re: Range Types - typo + NULL string constructor)