Re: psql: add \pset true/false - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: psql: add \pset true/false
Date
Msg-id 5649334C.50902@gmx.net
Whole thread Raw
In response to Re: psql: add \pset true/false  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: psql: add \pset true/false  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
On 11/15/15 3:20 PM, Jim Nasby wrote:
> As to the argument about displaying a check or an X, why should that
> capability only exist for boolean types? For example, why not allow psql
> to convert a numeric value into a bar of varying sizes? I've frequently
> emulated that with something like SELECT repeat( '*', blah * 30 /
> max_of_blah ). I'm sure there's other examples people could think of.

Well, why not?  The question there is only how many marginal features
you want to stuff into psql, not whether it's the right place to stuff them.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: psql: add \pset true/false
Next
From: Peter Geoghegan
Date:
Subject: Re: psql: add \pset true/false