Re: trailing whitespace in psql table output

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Robert Haas <robertmhaas@gmail.com>, David Fetter <david@fetter.org>, Alvaro Herrera <alvherre@commandprompt.com>, "David E. Wheeler" <david@kineticode.com>, Roger Leigh <rleigh@codelibre.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-09-28T17:44:47Z
Lists: pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On tis, 2010-09-28 at 12:18 -0400, Tom Lane wrote:
>> 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.

> You won't be able to programmatically forbid all trailing whitespace (at
> least without additional arrangements) because of:

Yeah, if we can't get all the way there easily, the above argument isn't
worth much.

			regards, tom lane