Re: [NOVICE] encoding problems

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [NOVICE] encoding problems
Дата
Msg-id 200805071746.m47HkCQ19032@momjian.us
обсуждение исходный текст
Ответ на Re: [NOVICE] encoding problems  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: [NOVICE] encoding problems  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches
Alvaro Herrera wrote:
> Bruce Momjian wrote:
>
> > Even if we knew the column position at output time, when we are doing
> > aligned column width computations, we don't know the width of the
> > previous columns so we would have no way to know how far the tab would
> > extend in the current column.
>
> If you start counting every line from the start of the current column,
> it will align correctly regardless of the previous columns.

At this stage you don't know the width of previous columns because you
don't know if a very wide value is coming in a later row, so there is no
way to output the width of the cell with a tab you are looking at now.

Unless I am misunderstanding you.

--
  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-patches по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [NOVICE] encoding problems
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [NOVICE] encoding problems