Re: printing table in asciidoc with psql

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Szymon Guz <mabewlun(at)gmail(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: printing table in asciidoc with psql
Date: 2015-03-25 13:12:41
Message-ID: 20150325131241.GA18754@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 25, 2015 at 09:37:08PM +0900, Michael Paquier wrote:
> On Wed, Mar 25, 2015 at 4:59 PM, Bruce Momjian <bruce(at)momjian(dot)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!

Wow, thanks. I never would have gotten here without your help.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2015-03-25 13:24:44 Re: Auditing extension for PostgreSQL (Take 2)
Previous Message Thom Brown 2015-03-25 12:46:03 Re: Error with index on unlogged table