Re: Proposed patch - psql wraps at window width
От | Bryce Nesbitt |
---|---|
Тема | Re: Proposed patch - psql wraps at window width |
Дата | |
Msg-id | 48081BC8.90803@obviously.com обсуждение исходный текст |
Ответ на | Re: Proposed patch - psql wraps at window width (Gregory Stark <stark@enterprisedb.com>) |
Список | pgsql-patches |
<br /><blockquote cite="mid:871w53bzsi.fsf@oxford.xeocode.com" type="cite"><blockquote type="cite"><pre wrap="">It wouldbe 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 wrappedor 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 defaultbehavior for the terminal.<br /> And there's no way I'd want wrapping as the default for pipe output.<br /><br /> -Bryce<br /><br />
В списке pgsql-patches по дате отправления: