Peter Eisentraut 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.
It is a TODO:
Add auto-expanded mode so expanded output is used if the row length is
wider than the screen width.
Consider using auto-expanded mode for backslash commands like \df+.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
In response to
pgsql-hackers by date
| Next: | From: Stephen Frost | Date: 2011-01-06 20:20:48 |
| Subject: DISCARD ALL ; stored procedures |
| Previous: | From: Bruce Momjian | Date: 2011-01-06 18:59:28 |
| Subject: Re: Problem with pg_upgrade (8.4 -> 9.0) due to
ALTER DATABASE SET ROLE |