Re: [NOVICE] encoding problems - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: [NOVICE] encoding problems
Date
Msg-id 20080507173702.GF20150@alvh.no-ip.org
Whole thread Raw
In response to Re: [NOVICE] encoding problems  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [NOVICE] encoding problems
List pgsql-patches
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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [NOVICE] encoding problems
Next
From: Bruce Momjian
Date:
Subject: Re: [NOVICE] encoding problems