Re: psql wrapped format default for backslash-d commands

From: "Brendan Jurd" <direvus(at)gmail(dot)com>
To: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql wrapped format default for backslash-d commands
Date: 2008-05-09 18:42:24
Message-ID: 37ed240d0805091142k4d37aa47h1f1da06783ad2ae4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, May 10, 2008 at 4:37 AM, Alvaro Herrera
<alvherre(at)commandprompt(dot)com> wrote:
> Brendan Jurd escribió:
>> I for one would definitely like backslash commands with very wide
>> output to be wrapped by default.
>
> (At least) one place where I would not like it is in \df+, because
> wrapped function output would be more difficult to read.
>

I am a bit conflicted about wrapping on \df. I agree that wrapped
function code is difficult to read, but what we've got now is
difficult to read too. Which of the two is more difficult is really a
matter of personal taste. I guess with \df you have to accept that
it's always going to be ugly, unless you have a very wide terminal (or
very short function definitions!).

Cheers,
BJ

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aidan Van Dyk 2008-05-09 18:51:51 Re: psql wrapped format default for backslash-d commands
Previous Message Alvaro Herrera 2008-05-09 18:37:44 Re: psql wrapped format default for backslash-d commands