View Single Post

   
  #4 (permalink)  
Old 05-07-2008, 06:21 PM
Alvaro Herrera
 
Posts: n/a
Default Re: [NOVICE] encoding problems

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.

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

--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

Reply With Quote