| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Bruce Momjian <bruce(at)momjian(dot)us> |
| 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 18:44:29 |
| Message-ID: | 20080507184429.GK20150@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-novice pgsql-patches |
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.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2008-05-07 18:46:28 | Re: [NOVICE] encoding problems |
| Previous Message | Bruce Momjian | 2008-05-07 18:24:09 | Re: [NOVICE] encoding problems |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2008-05-07 18:46:28 | Re: [NOVICE] encoding problems |
| Previous Message | Bruce Momjian | 2008-05-07 18:24:09 | Re: [NOVICE] encoding problems |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2008-05-07 18:46:28 | Re: [NOVICE] encoding problems |
| Previous Message | Bruce Momjian | 2008-05-07 18:24:09 | Re: [NOVICE] encoding problems |