Re: Proposed patch - psql wraps at window width

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>, Brendan Jurd <direvus(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Bryce Nesbitt <bryce2(at)obviously(dot)com>, heikki(at)enterprisedb(dot)com
Subject: Re: Proposed patch - psql wraps at window width
Date: 2008-04-24 14:50:26
Message-ID: 20080424145026.GG5593@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian escribió:

> > b) If you dump to a file it will still respect COLUMNS. This might be a bit
> > weird since bash sets COLUMNS so your file width will be based on the size
> > of your terminal. But people also do things like COLUMNS=120 psql -o f ...
>
> No, that will make the regression tests fail and it is hard to say why
> you would want a file wrap width to match your screen width.

What this means is that the regression tests should not use the wrapped
mode.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-04-24 15:18:53 Re: Avoiding a needless failure of PITR
Previous Message Tom Lane 2008-04-24 14:42:11 Re: Avoiding a needless failure of PITR

Browse pgsql-patches by date

  From Date Subject
Next Message Albe Laurenz 2008-04-24 15:08:06 Re: Improve shutdown during online backup, take 4
Previous Message Alvaro Herrera 2008-04-24 14:42:06 Re: lc_time and localized dates