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

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

> > 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.

Surely psql computes the width of all cells before printing anything.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-patches by date:

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