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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Proposed patch - psql wraps at window width


  • From: Bryce Nesbitt <bryce2(at)obviously(dot)com>
  • To: pgsql-patches(at)postgresql(dot)org
  • Cc: Gregory Stark <stark(at)enterprisedb(dot)com>
  • Subject: Re: Proposed patch - psql wraps at window width
  • Date: Thu, 17 Apr 2008 20:55:52 -0700
  • Message-id: <48081BC8.90803@obviously.com> <text/plain>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid:871w53bzsi(dot)fsf(at)oxford(dot)xeocode(dot)com" type="cite">
  <blockquote type="cite">
    <pre wrap="">It would be a spectacularly awful idea for this patch to affect the
output to a file at all.
    </pre>
  </blockquote>
  <pre wrap=""><!---->.....
It sucks to run a program, decide you want to capture that output and find you
get something else. It *really* sucks to find there's just no way to get the
same output short of heroic efforts.</pre>
</blockquote>
I agree with Gregory here: I may want to capture either the wrapped or
unwrapped output to a file or a pipe.<br>
Perhaps the enabling flag for this feature should take a parameter,
which is the number of columns to wrap to.<br>
<br>
I was not bold enough to propose that wrapping be the default behavior
for the terminal.<br>
And there's no way I'd want wrapping as the default for pipe output.<br>
<br>
                         -Bryce<br>
<br>
</body>
</html>



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group