Re: Tech details - psql wraps at window width - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Tech details - psql wraps at window width
Date
Msg-id 200804261336.m3QDaiP16542@momjian.us
Whole thread Raw
In response to Re: Tech details - psql wraps at window width  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian wrote:
> Hey, I can work with this idea.  First, there really is no 'off' mode
> for wrapped because that is aligned.  What we could do is to have:
> 
>     \pset format wrapped display
> 
> affect only output to the screen, using the screen width, and:
> 
>     \pset format wrapped nnn
> 
> affect output to the screen and file/pipes.

A new idea would be for a wrap value of zero to be special:
\pset format wrapped 0
to wrap to screen width for terminal and file/pipe output.

--  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: Proposed patch - psql wraps at window width
Next
From: Bruce Momjian
Date:
Subject: Re: Proposed patch - psql wraps at window width