vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. + -- Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-patches |
| ||||
| 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@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. + -- Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-patches |
| Thread Tools | |
| Display Modes | |
|
|