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

From Pavel Stehule
Subject Re: printing table in asciidoc with psql
Date
Msg-id CAFj8pRA+DAokx6kwSwQbVSTa7K=wpmYkm1o4nuSND3mfToUQsA@mail.gmail.com
Whole thread Raw
In response to printing table in asciidoc with psql  (Szymon Guz <mabewlun@gmail.com>)
List pgsql-hackers


2014-09-16 21:52 GMT+02:00 Szymon Guz <mabewlun@gmail.com>:
Hi,
I've been working a little bit on a patch for printing tables in asciidoc with psql.

It's not finished yet, I'm not sure it there is any sense in supporting border types etc. The code is not cleared so far, but any remarks on the style not playing well with the normal postgres style of code are welcomed.

The code just works. With extended and normal modes. With table columns made of funny characters, with alignment of data in table cells. I was trying to implement it similar to the html export function, however escaping of the strings was much easier, as the normal html-way substitution is not easy to implement in asciidoc.

I'd like to ask you for any advices for this code.

nice +1

Pavel
 

thanks,
Szymon


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [Windows,PATCH] Use faster, higher precision timer API
Next
From: Andrew Dunstan
Date:
Subject: Re: Windows exit code 128 ... it's baaack