Re: printing table in asciidoc with psql - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: printing table in asciidoc with psql
Date
Msg-id CAB7nPqT_pF-Ekksmda4_ZS0U=cXWrbrnzGe1n9D6kGc9+euasQ@mail.gmail.com
Whole thread Raw
In response to Re: printing table in asciidoc with psql  (Bruce Momjian <bruce@momjian.us>)
Responses Re: printing table in asciidoc with psql  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Wed, Mar 25, 2015 at 4:59 PM, Bruce Momjian <bruce@momjian.us> wrote:
> 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:

This time things look good from my side. I have played with this patch
some time, testing some crazy scenarios and I have not found problems.
That's cool stuff, thanks!
-- 
Michael



pgsql-hackers by date:

Previous
From: Kouhei Kaigai
Date:
Subject: Re: Custom/Foreign-Join-APIs (Re: [v9.5] Custom Plan API)
Next
From: Thom Brown
Date:
Subject: Re: Error with index on unlogged table