Re: psql: add \pset true/false

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: psql: add \pset true/false
Дата
Msg-id 5649334C.50902@gmx.net
обсуждение исходный текст
Ответ на Re: psql: add \pset true/false  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Ответы Re: psql: add \pset true/false
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: psql: add \pset true/false
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: psql: add \pset true/false