Re: [NOVICE] encoding problems

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [NOVICE] encoding problems
Дата
Msg-id 20080507184429.GK20150@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [NOVICE] encoding problems  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: [NOVICE] encoding problems  (Bruce Momjian <bruce@momjian.us>)
Re: [NOVICE] encoding problems  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
Bruce Momjian wrote:
> Alvaro Herrera wrote:

> > Surely psql computes the width of all cells before printing anything.
>
> It does, but if you have a value that has a tab, how do you know what
> tab stop you are on because you don't know the final width of the
> previous columns at that time, so there is no way to know the width of
> that cell.

My point is that you don't need to align the tabstops with the start of
the line, but with the start of the _column_.  So the width of the
previous column doesn't matter.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

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