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

From Alvaro Herrera
Subject Re: psql wrapped format default for backslash-d commands
Date
Msg-id 20080513160929.GI6966@alvh.no-ip.org
Whole thread Raw
In response to Re: psql wrapped format default for backslash-d commands  (Bruce Momjian <bruce@momjian.us>)
Responses Re: psql wrapped format default for backslash-d commands  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: psql wrapped format default for backslash-d commands  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
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.

However, this would mean that the column setting is only a hint, not a hard limit
:-( which doesn't sound so good either.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Decibel!
Date:
Subject: Re: Syntax decisions for pl/pgsql RAISE extension
Next
From: Alvaro Herrera
Date:
Subject: Re: odd output in restore mode