Re: psql wrapped format default for backslash-d commands

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Aidan Van Dyk <aidan(at)highrise(dot)ca>
Cc: Brendan Jurd <direvus(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql wrapped format default for backslash-d commands
Date: 2008-05-09 20:51:17
Message-ID: 200805092051.m49KpH328771@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Aidan Van Dyk wrote:
-- Start of PGP signed section.
> * Brendan Jurd <direvus(at)gmail(dot)com> [080509 14:43]:
> > 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!).
>
> Isn't that what $PAGER is for?
>
> $PAGER is the main reason why *I* don't want the wrapped format.

Not all pagers scroll width-wise --- in fact I thought most didn't.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-05-09 20:53:52 Re: psql wrapped format default for backslash-d commands
Previous Message Bruce Momjian 2008-05-09 20:50:22 Re: psql wrapped format default for backslash-d commands