Re: psql wrapped format default for backslash-d commands

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
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:09:29
Message-ID: 20080513160929.GI6966@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-05-13 16:11:30 Re: odd output in restore mode
Previous Message Decibel! 2008-05-13 16:07:28 Re: Syntax decisions for pl/pgsql RAISE extension