View Single Post

   
  #16 (permalink)  
Old 05-13-2008, 07:15 PM
Bryce Nesbitt
 
Posts: n/a
Default Re: psql wrapped format default for backslash-d commands

Tom Lane wrote:

Bruce Momjian <bruce@momjian.us> writes:



Now that psql '\pset format wrapped' is in CVS, we should consider when we want to use 'wrapped' format by default.



After experimenting for a bit, I'd say "never". This output format is extremely ugly. Maybe if it had enough smarts not to break in the middle of words ... regards, tom lane

Yet, wrapped is the same as aligned, if the lines fit!

Ugly to wrap? Yes.
Uglier than the sea of pipes you get when aligned output wraps itself?

Well I suppose you have to pick your preferred version of ugly.Â* I find itÂ* very hard to line up columns when presented with a sea of pipes, and highly annoying to constantly adjust my window width to see a query, especially if only one or two rows are too large.

Â*Â*Â* Â*Â* Â*Â* Â*Â* Â*Â* Â*Â* Â*Â* Â*Â* Â*Â* Â*Â* -Bryce

PS: it is true, I don't like the missing | bars on the current version.Â* I prefer that the grid cells be fully drawn, even if the contents don't fill the box
Reply With Quote