Re: psql wrapped format default for backslash-d commands - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: psql wrapped format default for backslash-d commands
Date
Msg-id 200805131657.m4DGvvT20697@momjian.us
Whole thread Raw
In response to Re: psql wrapped format default for backslash-d commands  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: psql wrapped format default for backslash-d commands  (Alvaro Herrera <alvherre@commandprompt.com>)
List 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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Syntax decisions for pl/pgsql RAISE extension
Next
From: Bruce Momjian
Date:
Subject: Re: psql \? help display