Thread: psql wraps lines at 256 characters
Dave E Martin (xxiii@cyberdude.com) reports a bug with a severity of 3 The lower the number the more severe it is. Short Description psql wraps lines at 256 characters Long Description the v7.0 psql wraps output lines at 256 characters. The 6.5 version did not. I sometimes create huge xterms so I can getthe output of a select all on one line per row,and keep the display nicely formatted, but now I just get a big void ofemptyness on the right 3rd of my xterm, because psql is wrapping the output anyway. Sample Code make a big xterm, select * from some table with long rows. No file was uploaded with this report
> the v7.0 psql wraps output lines at 256 characters. The 6.5 version did not. I sometimes create huge xterms so I can getthe output of a select all on one line per row,and keep the display nicely formatted, but now I just get a big void ofemptyness on the right 3rd of my xterm, because psql is wrapping the output anyway. (Note the irony with wrapping here...) Of course output is normally wrapped at the end of the terminal. The decision about that is in the terminal driver's configuration, not psql. It might be that your pager (more/less) got in the way. If I write the output to a text file I can create lines much longer than 256 characters, which seems to support that claim of blame. -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/