Re: psql wrapped format default for backslash-d commands

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bryce Nesbitt <bryce2(at)obviously(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql wrapped format default for backslash-d commands
Date: 2008-05-13 16:57:57
Message-ID: 200805131657.m4DGvvT20697@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera wrote:
> Bruce Momjian wrote:
>
> > The idea would be for the dash to appear outside where normal data
> > appears:
> >
> > internal | RI_FKey_cas-| referential
> > ; cade_del ; integrity
> >
> > If we don't allow a dash, I think wrapping on word boundaries will be
> > impossible because we can't guarantee no word breaks, and I think if we
> > sometimes word break we had better indicate that somehow.
>
> I think the behaviour would be better if we were able to only break on
> words, and make columns wider on those where words wouldn't fit.

Consider \df, where a few of the function names are pretty long;
preventing wrapping of those would seriously limit the usefulness of
wrapping mode.

--
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-05-13 17:01:51 Re: psql \? help display
Previous Message Tom Lane 2008-05-13 16:53:43 Re: Syntax decisions for pl/pgsql RAISE extension