Re: psql wrapped format default for backslash-d commands

From: Bryce Nesbitt <bryce2(at)obviously(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: psql wrapped format default for backslash-d commands
Date: 2008-05-13 06:12:55
Message-ID: 48293167.7010504@obviously.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tom Lane wrote:
<blockquote cite="mid:24612(dot)1210391398(at)sss(dot)pgh(dot)pa(dot)us" type="cite">
<pre wrap="">Bruce Momjian <a class="moz-txt-link-rfc2396E"
href="mailto:bruce(at)momjian(dot)us">&lt;bruce(at)momjian(dot)us&gt;</a> writes:
</pre>
<blockquote type="cite">
<pre wrap="">Now that psql '\pset format wrapped' is in CVS, we should consider when
we want to use 'wrapped' format by default.
</pre>
</blockquote>
<pre wrap=""><!---->
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
</pre>
</blockquote>
Yet, wrapped is the same as aligned, if the lines fit!<br>
<br>
Ugly to wrap? Yes.<br>
Uglier than the sea of pipes you get when aligned output wraps itself?<br>
<br>
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.<br>
<br>
                               -Bryce<br>
<br>
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
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 1.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2008-05-13 06:33:01 Re: Problem returning strings with pgsql 8.3.x
Previous Message Magnus Hagander 2008-05-13 06:07:02 Re: Fairly serious bug induced by latest guc enum changes