Re: explain output infelicity in psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: explain output infelicity in psql
Дата
Msg-id 25681.1260467746@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: explain output infelicity in psql  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: explain output infelicity in psql  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I don't see much virtue of having these characters when there is only 
> one column.

So you can tell a newline in the data from a wrap due to line length.
The need to be able to do that is not dependent on how many columns
there are.

> And clearly I'm not the only person who doesn't like this behaviour.

It's just our usual negative reaction to any change whatsoever ;-).
I was unimpressed with Leigh's changes too at the start, but I can see
that there is value in it.

I think that changing the behavior depending on how many columns there
are is an incredibly ugly hack, and your assertions to the contrary
aren't going to change my mind.  If we think that this is such a bad
idea it should be reverted, then let's revert it altogether.

Another possibility, which I don't understand why it was dismissed so
cavalierly, is to have EXPLAIN put out one row per logical line instead
of using embedded newlines.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: explain output infelicity in psql
Следующее
От: Robert Haas
Дата:
Сообщение: Re: explain output infelicity in psql