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 for
  Advanced Search

Re: Proposed patch - psql wraps at window width




It would be a spectacularly awful idea for this patch to affect the
output to a file at all.
    
.....
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.
I agree with Gregory here: I may want to capture either the wrapped or unwrapped output to a file or a pipe.
Perhaps the enabling flag for this feature should take a parameter, which is the number of columns to wrap to.

I was not bold enough to propose that wrapping be the default behavior for the terminal.
And there's no way I'd want wrapping as the default for pipe output.

                         -Bryce



Home | Main Index | Thread Index

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