Re: trailing whitespace in psql table output

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: trailing whitespace in psql table output
Дата
Msg-id 20100927180904.GA18178@fetter.org
обсуждение исходный текст
Ответ на 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
On Mon, Sep 27, 2010 at 01:53:45PM -0400, Robert Haas wrote:
> On Mon, Sep 27, 2010 at 1:34 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
> > Excerpts from David E. Wheeler's message of lun sep 27 12:25:31 -0400 2010:
> >> On Sep 27, 2010, at 5:05 AM, Peter Eisentraut wrote:
> >>
> >> > Um, no.
> >> >
> >> > In the meantime, I have arrived at the conclusion that doing this isn't
> >> > worth it because it will break all regression test output.  We can fix
> >> > the stuff in our tree, but pg_regress is also used externally, and those
> >> > guys would have a nightmare with this change.  Perhaps if there is
> >> > another more significant revision of the table style in the future, we
> >> > should keep this issue in mind.
> >>
> >> Or change the way pg_regress works.
> >
> > Perhaps using unaligned mode?  The problem with that is that it becomes
> > very difficult to review changes to expected output.
> 
> Uh, yuck!  If we don't care about changing the expected output, we can
> just trim the whitespace as Peter suggested originally.

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?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: trailing whitespace in psql table output
Следующее
От: Gurjeet Singh
Дата:
Сообщение: Re: Improving prep_buildtree used in VPATH builds