Re: psql output change in 9.4

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: psql output change in 9.4
Дата
Msg-id CA+TgmoYTj2zWoC=aSQFDKGsCi2gfezfdhkakxtzXEt85vUnJ+w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: psql output change in 9.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: psql output change in 9.4  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Mon, Aug 11, 2014 at 1:52 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Fri, Aug 8, 2014 at 9:34 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
>>> What is the point of that change?
>
>> I think the output could justly be criticized for making it
>> insufficiently clear that the parenthesized text is, in fact, the name
>> of the pset parameter.
>
> Quite; that wasn't apparent to me either.
>
>> We could write something like:
>> Border style (parameter "border") is 1.
>
> How about
>
> Border style (\pset border) is 1.

That would look just fine as a response to \a or \x, but I'm not sure
it would look as good as a response to \pset, which prints out that
line for every parameter ("why does every line say \pset when the
command I just typed is \pset?").  However, I can certainly live with
it if others prefer that to what I suggested.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: bad estimation together with large work_mem generates terrible slow hash joins
Следующее
От: Robert Haas
Дата:
Сообщение: Re: jsonb format is pessimal for toast compression