psql output change in 9.4

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема psql output change in 9.4
Дата
Msg-id 1407548062.13736.7.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: psql output change in 9.4  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
This is 9.3:

peter=# \a
Output format is unaligned.
peter=# \a
Output format is aligned.
peter=# \x
Expanded display is on.
peter=# \x
Expanded display is off.

This is new in 9.4:

peter=# \a
Output format (format) is unaligned.
peter=# \a
Output format (format) is aligned.
peter=# \x
Expanded display (expanded) is on.
peter=# \x
Expanded display (expanded) is off.

What is the point of that change?

I suppose it is so that you can use \pset without arguments to show all
settings:

peter=# \pset
Border style (border) is 1.
Target width (columns) unset.
Expanded display (expanded) is off.
...

But those are unrelated features, and the changed output doesn't make
any sense in the contexts I show above.

I think this should be reverted, and the \pset output should be
implemented separately.





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: jsonb format is pessimal for toast compression
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Hokey wrong versions of libpq in apt.postgresql.org