Re: [patch] Proposal for \rotate in psql
От | Pavel Stehule |
---|---|
Тема | Re: [patch] Proposal for \rotate in psql |
Дата | |
Msg-id | CAFj8pRAOE3UuWroVnwvPpvvem7Fe2W1uaEWsK=9LrLVvKMsHUg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [patch] Proposal for \rotate in psql (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: [patch] Proposal for \rotate in psql
|
Список | pgsql-hackers |
2015-12-19 6:55 GMT+01:00 Pavel Stehule <pavel.stehule@gmail.com>:
2015-12-18 21:21 GMT+01:00 Daniel Verite <daniel@manitou-mail.org>:Pavel Stehule wrote:
> The symbol 'X' in two column mode should be centred - now it is aligned to
> left, what is not nice
Currently print.c does not support centered alignment, only left and right.
Should we add it, it would have to work for all output formats
(except obviously for "unaligned"):
- aligned
- wrapped
- html
- latex
- latex-longtable
- troff-ms
- asciidoc
Because of this, I believe that adding support for a 'c' alignment
might be a significant patch by itself, and that it should be considered
separately.ok
I agree that if it existed, the crosstabview command should use it
as you mention, but I'm not volunteering to implement it myself, at
least not in the short term.I'll look how much work it is
attached patch allows align to center.
everywhere where left/right align was allowed, the center align is allowed
Regards
Pavel
RegardsPavel
Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite
Вложения
В списке pgsql-hackers по дате отправления: