From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Cliff Nieuwenhuis <cliff(at)nieusite(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [NOVICE] encoding problems |
Date: | 2008-05-07 17:46:11 |
Message-ID: | 200805071746.m47HkCQ19032@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-novice pgsql-patches |
Alvaro Herrera wrote:
> 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.
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.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Dimitri Fontaine | 2008-05-07 17:54:11 | Re: alter + preserving dependencies |
Previous Message | Magnus Hagander | 2008-05-07 17:37:51 | Re: pgsql: Make the pg_stat_activity view call a SRF |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Cocks | 2008-05-07 17:48:02 | Re: Disadvantages to using "text" |
Previous Message | Alvaro Herrera | 2008-05-07 17:37:02 | Re: [NOVICE] encoding problems |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2008-05-07 18:15:14 | Re: [NOVICE] encoding problems |
Previous Message | Alvaro Herrera | 2008-05-07 17:37:02 | Re: [NOVICE] encoding problems |