Re: trailing whitespace in psql table output

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: trailing whitespace in psql table output
Дата
Msg-id 26887.1285690739@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: trailing whitespace in psql table output  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: trailing whitespace in psql table output  (Robert Haas <robertmhaas@gmail.com>)
Re: trailing whitespace in psql table output  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Sep 27, 2010 at 2:09 PM, David Fetter <david@fetter.org> wrote:
>> I must be missing something pretty crucial here as far as the
>> complexity of changing all the regression tests. �Wouldn't trimming
>> all trailing whitespace do the trick?

> Sure.  But everyone using pg_regress will have to update their
> regression test expected outputs.

I'm inclined to think that that's not a fatal objection; it's not like
we haven't felt free to change psql's output format before.  As long as
we don't back-patch this change, it should be no worse than other things
we've done to third-party code without a backwards glance.

It would be good to get rid of this whitespace because (I believe) it is
one of very few reasons for needing to have any trailing whitespace in
git-controlled files.  If we could get to a point where trailing
whitespace in patches could be rejected automatically, it'd eliminate
one small pet peeve.
        regards, tom lane


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Proposal: plpgsql - "for in array" statement
Следующее
От: Robert Haas
Дата:
Сообщение: Re: trailing whitespace in psql table output