Re: Proposed patch - psql wraps at window width
От | Bruce Momjian |
---|---|
Тема | Re: Proposed patch - psql wraps at window width |
Дата | |
Msg-id | 200804290311.m3T3Bo606944@momjian.us обсуждение исходный текст |
Ответ на | Re: Proposed patch - psql wraps at window width (Gregory Stark <stark@enterprisedb.com>) |
Ответы |
Re: Proposed patch - psql wraps at window width
Re: Proposed patch - psql wraps at window width |
Список | pgsql-hackers |
Gregory Stark wrote: > > Now, we could get fancy and honor $COLUMNS only in non-interactive mode, > > but that seems confusing. > > We could always read COLUMNS early on before readline is initialized and stash > the value away in a variable. But... > > We would only look at COLUMNS if the ioctl for window size failed. Does > psql/readline do anything to COLUMNS in that case? We do look at COLUMNS if the ioctl() fails, but not for file/pipe output. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-hackers по дате отправления: