Re: printing table in asciidoc with psql

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: printing table in asciidoc with psql
Дата
Msg-id 20150325075952.GJ19256@momjian.us
обсуждение исходный текст
Ответ на Re: printing table in asciidoc with psql  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: printing table in asciidoc with psql  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On Wed, Mar 25, 2015 at 02:18:58PM +0900, Michael Paquier wrote:
> > [options="header",cols="<l,<l",frame="none"]
> > |====
> > |5 2.2+^.^ |4 2.2+^.^
> > |2 2.2+^.^ |3 2.2+^.^
> > |====
>
> Hm. This is still incorrect. You should remove options="header" here
> or the first tuple is treated as a header in the case
> non-expanded/tuple-only. Your patch removes correctly the header for
> the expanded/tuple-only case though.
> Regards,

OK, fixed.  Thanks for the testing.  Patch attached.  New output:

---------------------------------------------------------------------------

test=> \pset format asciidoc
Output format is asciidoc.
test=> \t
Tuples only is on.
test=> table "5 2.2+^.^" ;

[cols="<l,<l",frame="none"]
|====
|5 2.2+^.^ |4 2.2+^.^
|2 2.2+^.^ |3 2.2+^.^
|====

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

Вложения

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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Custom/Foreign-Join-APIs
Следующее
От: Venkata Balaji N
Дата:
Сообщение: Re: recovery_target_time ignored ?