Re: psql wrapped format default for backslash-d commands

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: psql wrapped format default for backslash-d commands
Дата
Msg-id 20080513160929.GI6966@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: psql wrapped format default for backslash-d commands  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: psql wrapped format default for backslash-d commands
Re: psql wrapped format default for backslash-d commands
Список 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 по дате отправления: