Re: Spaces in psql output (Was: FW: PGBuildfarm member snake Branch HEAD Status changed)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Spaces in psql output (Was: FW: PGBuildfarm member snake Branch HEAD Status changed)
Дата
Msg-id 1141.1139602907@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Spaces in psql output (Was: FW: PGBuildfarm member snake Branch HEAD Status changed)  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> The extra spaces is an interesting side-effect. In the past it would
> only have worked for the last column anyway, right?

Of course.

> Anyway, it is a fixable issue and I'd consider doing it if people think
> it's worth it.

I think it would be a good idea to expect this patch to cause zero
change in psql output except in the cases where there are actually
control characters in the data.  Otherwise there are likely to be
complaints.  (I'm already unhappy at the prospect that this means
every single regression test's output has changed, even if diff
--ignore-space is hiding them.)

I'd settle for stripping trailing blanks on the last line of a multiline
field value, if that'd be any easier than stripping them for all lines.
        regards, tom lane


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

Предыдущее
От: "Michael Paesold"
Дата:
Сообщение: Re: Spaces in psql output (Was: FW: PGBuildfarm member snake Branch HEAD Status changed)
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Scrollable cursors and Sort performance