| От | Bruce Momjian |
|---|---|
| Тема | Re: printing table in asciidoc with psql |
| Дата | |
| Msg-id | 20150322010944.GA10795@momjian.us обсуждение |
| Ответ на | Re: printing table in asciidoc with psql (Michael Paquier <michael.paquier@gmail.com>) |
| Ответы |
Re: printing table in asciidoc with psql
|
| Список | pgsql-hackers |
On Sat, Mar 21, 2015 at 09:20:03PM +0900, Michael Paquier wrote: > 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. I have updated the attached patch to do as you suggested. Please also test the \x output. Thanks. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. +
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера