Re: [NOVICE] encoding problems
От | Bruce Momjian |
---|---|
Тема | Re: [NOVICE] encoding problems |
Дата | |
Msg-id | 200805071846.m47IkSe18530@momjian.us обсуждение исходный текст |
Ответ на | Re: [NOVICE] encoding problems (Alvaro Herrera <alvherre@commandprompt.com>) |
Список | pgsql-patches |
Alvaro Herrera wrote: > 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. OK, so I am not really using tabs in the output, but outputting the proper number of spaces to make it look like a tab? That works. Let me try it. -- 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 по дате отправления: