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

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: 2008-04-18 03:55:52
Message-ID: 48081BC8.90803@obviously.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
<!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>


Attachment: unknown_filename
Description: text/html (1.1 KB)

In response to

pgsql-hackers by date

Next:From: Bryce NesbittDate: 2008-04-18 04:11:12
Subject: Re: Proposed patch - psql wraps at window width
Previous:From: Alvaro HerreraDate: 2008-04-18 03:41:41
Subject: Re: Lessons from commit fest

pgsql-patches by date

Next:From: Bryce NesbittDate: 2008-04-18 04:11:12
Subject: Re: Proposed patch - psql wraps at window width
Previous:From: Gregory StarkDate: 2008-04-18 03:35:41
Subject: Re: Proposed patch - psql wraps at window width

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