Re: printing table in asciidoc with psql

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: printing table in asciidoc with psql
Дата
Msg-id CAB7nPqQTOyQE1O5XGqrceq4fhKDMYU2sCR121YW+Eh-1s=KjbQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: printing table in asciidoc with psql  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: printing table in asciidoc with psql  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Fri, Mar 20, 2015 at 11:10 PM, Bruce Momjian wrote:
> I was able to fix all the reported problems with the attached patch.
> I used this for testing the output:
>
>         https://asciidoclive.com/
>
> Is it OK now?

This does not work:
=# create table "5 2.2+^.^" ();
CREATE TABLE
=# \pset format asciidoc
Output format is asciidoc.
=# \d

.List of relations
[options="header",cols="<l,<l,<l,<l",frame="none"]
|====
^l|Schema ^l|Name ^l|Type ^l|Owner
|public|5 2.2+^.^|table|ioltas
|====

....
(1 row)
....

I think that we should really put additional spaces on the left side
of the column separators "|". For example, this line:
|public|5 2.2+^.^|table|ioltas
should become that:
|public |5 2.2+^.^ |table |ioltas
And there is no problem.
Regards,
-- 
Michael



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Julien Tachoires
Дата:
Сообщение: Re: patch : Allow toast tables to be moved to a different tablespace
Следующее
От: Andreas Karlsson
Дата:
Сообщение: Re: patch : Allow toast tables to be moved to a different tablespace