Re: psql expanded auto
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers@postgresql.org
Date: 2011-03-11T03:28:01Z
Lists: pgsql-hackers
I have added a link to this on the TODO list: Add "auto" expanded mode that outputs in expanded format if "wrapped" mode can't wrap the output to the screen width * Re: psql wrapped format default for backslash-d commands * http://archives.postgresql.org/pgsql-hackers/2010-12/msg01638.php --------------------------------------------------------------------------- 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. > [ Attachment, skipping... ] > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +