psql expanded auto

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: psql expanded auto
Date: 2010-12-17 22:12:50
Message-ID: 1292623970.22053.8.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 Content-Type Size
psql-expanded-auto.diff text/x-patch 4.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-12-17 22:22:17 Re: Why don't we accept exponential format for integers?
Previous Message Tomas Vondra 2010-12-17 22:12:16 Re: proposal : cross-column stats