Re: wrapping in extended mode doesn't work well with default pager

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: wrapping in extended mode doesn't work well with default pager
Дата
Msg-id 22089.1399905732@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: wrapping in extended mode doesn't work well with default pager  (Greg Stark <stark@mit.edu>)
Ответы Re: wrapping in extended mode doesn't work well with default pager
Список pgsql-hackers
Greg Stark <stark@mit.edu> writes:
> On Mon, May 12, 2014 at 2:12 PM, Greg Stark <stark@mit.edu> wrote:
>> Hm, there was an off by one error earlier in some cases, maybe we
>> fixed it by breaking other case. Will investigate.

> Those spaces are coming from the ascii wrapping indicators. i.e. the periods in:

Ah.  I wonder whether anyone will complain that the format changed?

> Apparently we used to print those with border=1 in normal mode but in
> expanded mode we left out the space for those on the outermost edges
> since there was no need for them. If we put them in for wrapped mode
> then we'll be inconsistent if we don't for nonwrapped mode though. And
> if we don't put them in for wrapped mode then there's no way to
> indicate wrapping versus newlines.

Barring anyone complaining that the format changed, I'd say the issue
is not that you added them but that the accounting for line length
fails to include them.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Select queries which violates table constrains
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Proposal for CSN based snapshots