Bruce Momjian wrote: No! Performance was not the issue.I also found that for hugely wide output it was better to give up (do nothing), rather than mangle the output in a futile attempt to squash it to the window width. So there is one more clause in the wrapping if.Was it because of performance? I have a way to fix that by decrementing by more than one to shrink a column? I am attaching a new patch with my improved loop. It remembers the previous maximum ratio. The out just looked like a jumble onscreen when the line was word wrapped BUT did not fit on the screen anyway. To increase the number of layouts that fit, a co-worker suggested I squeeze out the 2 spaces in each column header. -Bryce |
- Re: [PATCHES] NetBSD/MIPS supports ... Magnus Hagander
- Re: [PATCHES] NetBSD/MIPS supports ... Alvaro Herrera
- Re: [PATCHES] NetBSD/MIPS supports dlopen Andrew Dunstan
- Re: [PATCHES] NetBSD/MIPS supports dlopen Alvaro Herrera
- Re: [PATCHES] NetBSD/MIPS supports dlope... Andrew Dunstan
- [PATCHES] Proposed patch - psql wraps at window width Bryce Nesbitt
- Re: [PATCHES] Proposed patch - psql wraps at window ... Alvaro Herrera
- Re: [PATCHES] Proposed patch - psql wraps at window ... Bruce Momjian
- Re: [PATCHES] Proposed patch - psql wraps at win... Bryce Nesbitt
- Re: [PATCHES] Proposed patch - psql wraps at... Bruce Momjian
- Re: [PATCHES] Proposed patch - psql wrap... Bryce Nesbitt
- Re: [PATCHES] Proposed patch - psql wraps at win... Alvaro Herrera
- Re: [PATCHES] Proposed patch - psql wraps at win... Peter Eisentraut
- Re: [PATCHES] Proposed patch - psql wraps at... Gregory Stark
- Re: [PATCHES] Proposed patch - psql wrap... Tom Lane
- Re: [PATCHES] Proposed patch - psql... Gregory Stark
- Re: [PATCHES] Proposed patch - psql... Bryce Nesbitt
- Re: [PATCHES] Proposed patch - psql wraps at... Bryce Nesbitt
- Re: [PATCHES] Proposed patch - psql wrap... Tom Lane
- Re: [PATCHES] Proposed patch - psql... Gregory Stark
- Re: [PATCHES] Proposed patch - psql wraps at... Bryce Nesbitt