Re: Proposed patch - psql wraps at window width - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Proposed patch - psql wraps at window width
Date
Msg-id 200804241638.m3OGcRd17084@momjian.us
Whole thread Raw
In response to Re: Proposed patch - psql wraps at window width  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian wrote:
> Tom Lane wrote:
> > Bruce Momjian <bruce@momjian.us> writes:
> > > Peter Eisentraut wrote:
> > >> Well, the feature is labeled "psql wraps at window width".  If the output 
> > >> isn't on a window, then it shouldn't wrap.
> > 
> > > \pset columns will wrap to the specified width for file output.
> > 
> > I agree with Peter: that's a seriously bad idea.
> 
> Uh, I am confused.  Are you saying \pset columns should not control file
> output?  And if it doesn't how does someone get file output in a
> specified width?

For reference Peter's comment is here:
http://archives.postgresql.org/pgsql-hackers/2008-04/msg01633.php

and the patch is here:
ftp://momjian.us/pub/postgresql/mypatches/wrap

with documentation.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Is this TODO item done?
Next
From: Tom Lane
Date:
Subject: Re: Index AM change proposals, redux