Skip site navigation (1) Skip section navigation (2)

Re: Tech details - psql wraps at window width

From: Bryce Nesbitt <bryce2(at)obviously(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Tech details - psql wraps at window width
Date: 2008-04-26 07:08:44
Message-ID: 4812D4FC.8090302@obviously.com (view raw or flat)
Thread:
Lists: 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...
Well, come to think of it, "wrapped" is not really a new output format 
in the sense of "html" or "latex".  It could build on aligned:

\pset format aligned [autowrap|nowrap|nnn]

But there's still the issue of wanting separate defaults for tty and 
stream outputs.  The last thing you want is an admin deciding on 
wrapping, and then subtly breaking scripts.  My personal desired 
defaults are:

* Terminals autowrap.
* Streams don't wrap, except in the rare case when I want to force a 
specific width (e.g. 79 for a newsgroup posting).

                                  -Bryce



In response to

Responses

pgsql-hackers by date

Next:From: Hannes DorbathDate: 2008-04-26 09:01:02
Subject: Re: MERGE Specification
Previous:From: Brendan JurdDate: 2008-04-26 06:38:42
Subject: Re: Tech details - psql wraps at window width

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group