| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Roger Leigh <rleigh(at)codelibre(dot)net> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: trailing whitespace in psql table output |
| Date: | 2010-09-27 12:05:11 |
| Message-ID: | 1285589111.21402.3.camel@vanquo.pezone.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On fre, 2010-09-24 at 22:38 +0100, Roger Leigh wrote:
> On Tue, Sep 21, 2010 at 09:28:07PM +0300, Peter Eisentraut wrote:
> > Everyone using git diff in color mode will already or soon be aware that
> > psql, for what I can only think is an implementation oversight, produces
> > trailing whitespace in the table headers, like this:
> >
> > two | f1 $
> > -----+------------$
> > | asdfghjkl;$
> > | d34aaasdf$
> > (2 rows)$
>
> Does this break the output with "\pset border 2"?
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Hagander | 2010-09-27 12:07:49 | Using streaming replication as log archiving |
| Previous Message | Devrim GÜNDÜZ | 2010-09-27 11:47:15 | Re: pg_filedump binary for CentOS |