Bruce Momjian wrote:
> The attached patch causes psql to use the pager if newlines or
> 'format=wrapped' has caused a single row to span more than one line and
> the output is then too long for the screen. It also uses the pager if
> psql thinks the data will wrap off the edge of the screen.
> The display width as defined by \pset columns, $COLUMNS, or the ioctl
> (as previously discussed) We don't have similar settings for the number
> of display rows. I assume that is OK.
> I believe this makes the pager more reliable, and in fact I have removed
> the psql manual mention that pager computations are somewhat imperfect.
Update patch applied.
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
+ If your life is a hard drive, Christ can be your backup. +
In response to
pgsql-patches by date
|Next:||From: Bruce Momjian||Date: 2008-05-16 17:18:00|
|Subject: Re: Patch to change psql default banner v6|
|Previous:||From: Andrew Dunstan||Date: 2008-05-16 15:43:48|
|Subject: Re: libpq object hooks|