Re: wrapping in extended mode doesn't work well with default pager - Mailing list pgsql-hackers

From Greg Stark
Subject Re: wrapping in extended mode doesn't work well with default pager
Date
Msg-id CAM-w4HMxrVgSrUH1UUGYMkA0bf7FVbA-x6jKrtLPm1x+6bYq4A@mail.gmail.com
Whole thread Raw
In response to Re: wrapping in extended mode doesn't work well with default pager  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: wrapping in extended mode doesn't work well with default pager  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
On Mon, May 12, 2014 at 2:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> but where did those leading spaces come from?  The header line is
> definitely not on board with that, and I think those spaces are
> contributing to the lines being too long for the window.  I think
> possibly the code is also adding a space that shouldn't be there
> at the end of the lines, because it prints lines that wrap around
> if I \pset columns to either 79 or 80 in an 80-column window, so
> the accounting is off by 2 someplace.

Hm, there was an off by one error earlier in some cases, maybe we
fixed it by breaking other case. Will investigate.


-- 
greg



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: wrapping in extended mode doesn't work well with default pager
Next
From: Stephen Frost
Date:
Subject: Re: pgaudit - an auditing extension for PostgreSQL