Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-09-18 Thread Jan Michálek
quot; > > - too long help line in "src/bin/psql/help.c" > > - spurious space after a comma in "src/fe_utils/print.c" > > and possibly elsewhere. > > > > On Sun, 23 Apr 2017, Jan Michálek wrote: > > > >>>> Markdown include char

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-09-18 Thread Jan Michálek
Thanks 2017-09-18 15:33 GMT+02:00 Daniel Gustafsson : > > On 18 Sep 2017, at 15:31, Jan Michálek wrote: > > > > I have`t any new version recently, because i was waiting for new > version. But I will have some time on this in next months. How many time I > have to n

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-18 Thread Jan Michálek
2017-03-12 19:21 GMT+01:00 Jan Michálek : > > > 2017-03-10 9:43 GMT+01:00 Jan Michálek : > >> >> >> 2017-03-09 20:10 GMT+01:00 Peter Eisentraut < >> peter.eisentr...@2ndquadrant.com>: >> >>> This is looking pretty neat. I played around

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-21 Thread Jan Michálek
f Of *Jan Michalek > *Sent:* Sunday, March 19, 2017 5:10 AM > *To:* Peter Eisentraut > *Cc:* Pavel Stehule ; PostgreSQL mailing lists < > pgsql-hackers@postgresql.org> > *Subject:* Re: [HACKERS] Other formats in pset like markdown, rst, > mediawiki > > > > > > >

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-21 Thread Jan Michálek
2017-03-21 11:01 GMT+01:00 Pavel Stehule : > > > 2017-03-21 10:59 GMT+01:00 Jan Michálek : > >> >> >> 2017-03-21 9:59 GMT+01:00 Ideriha, Takeshi > m>: >> >>> Hi, >>> >>> I like your suggestion and took a look at your patch thou

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-23 Thread Jan Michálek
2017-03-23 17:26 GMT+01:00 Pierre Ducroquet : > The following review has been posted through the commitfest application: > make installcheck-world: tested, passed > Implements feature: tested, passed > Spec compliant: tested, passed > Documentation:tested, passed > > H

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-27 Thread Jan Michálek
2017-03-23 17:26 GMT+01:00 Pierre Ducroquet : > The following review has been posted through the commitfest application: > make installcheck-world: tested, passed > Implements feature: tested, passed > Spec compliant: tested, passed > Documentation:tested, passed > > H

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-29 Thread Jan Michálek
2017-03-27 19:41 GMT+02:00 Jan Michálek : > > > 2017-03-23 17:26 GMT+01:00 Pierre Ducroquet : > >> The following review has been posted through the commitfest application: >> make installcheck-world: tested, passed >> Implements feature: tested, passed >&

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-30 Thread Jan Michálek
2017-03-30 21:53 GMT+02:00 Pavel Stehule : > > > 2017-03-29 20:11 GMT+02:00 Jan Michálek : > >> >> >> 2017-03-27 19:41 GMT+02:00 Jan Michálek : >> >>> >>> >>> 2017-03-23 17:26 GMT+01:00 Pierre Ducroquet : >>> >>>>

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-31 Thread Jan Michálek
2017-03-31 12:01 GMT+02:00 Pierre Ducroquet : > On Friday, March 31, 2017 7:17:08 AM CEST, Jan Michálek wrote: > >> >> >> 2017-03-30 21:53 GMT+02:00 Pavel Stehule : >> >> >> 2017-03-29 20:11 GMT+02:00 Jan Michálek : >> >> >> 2017-03-27

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-04-02 Thread Jan Michálek
2017-03-23 17:26 GMT+01:00 Pierre Ducroquet : > The following review has been posted through the commitfest application: > make installcheck-world: tested, passed > Implements feature: tested, passed > Spec compliant: tested, passed > Documentation:tested, passed > > H

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-04-05 Thread Jan Michálek
2017-04-06 0:55 GMT+02:00 Andres Freund : > Hi, > > On 2017-04-02 22:28:40 +0200, Jan Michálek wrote: > > 2017-03-23 17:26 GMT+01:00 Pierre Ducroquet : > > > The new status of this patch is: Waiting on Author > > > > > > > Corrected problem with \pset

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-04-17 Thread Jan Michálek
2017-04-18 2:27 GMT+02:00 Fabien COELHO : > > Hello Jan, > > Corrected problem with \pset linestyle when format is set to markdown, or >> rst. >> >> Corrected tuples only for markdown and rst (normal and expanded) >> > > It seems that the patch does not apply anymore on head due to changes in > ps

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-04-18 Thread Jan Michálek
2017-04-18 2:27 GMT+02:00 Fabien COELHO : > > Hello Jan, > > Corrected problem with \pset linestyle when format is set to markdown, or >> rst. >> >> Corrected tuples only for markdown and rst (normal and expanded) >> > > It seems that the patch does not apply anymore on head due to changes in > ps

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-04-18 Thread Jan Michálek
2017-04-18 12:06 GMT+02:00 Fabien COELHO : > > Hello Jan, > > It seems that the patch does not apply anymore on head due to changes in >>> psql non regression tests. Could you rebase? >>> >> >> This should work on current master (all test passed). >> > > Patch applies, compiles and make check is o

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-04-18 Thread Jan Michálek
2017-04-18 23:06 GMT+02:00 Fabien COELHO : > > Hello, > > There are different flavour of markdown, maybe you should document which >>> one is targetted. Should it be CommonMark? Another variant? Why? >>> >> >> This should be pandoc pipe table. It's because it is similar to aligned >> format. I nee

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-04-19 Thread Jan Michálek
2017-04-19 9:18 GMT+02:00 Fabien COELHO : > > I still do not understand "why" this variant vs CommonMark or whatever >>> other version. >>> >> >> Because of simply implementation and readability (looks similar to aligned >> format) and it is comfortable to edit generated table (changing values, >>

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-04-23 Thread Jan Michálek
2017-04-19 10:05 GMT+02:00 Jan Michálek : > 2017-04-19 9:18 GMT+02:00 Fabien COELHO : > >> >> I still do not understand "why" this variant vs CommonMark or whatever >>>> other version. >>>> >>> >>> Because of simply implement

[HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-02-23 Thread Jan Michálek
Have a nice day I`m using \pset format html for generating tables for some documentation, training, reports, blogs... Mainly sample of data for SQL queries, or explaining structure etc. But in some software like sphinx, wiki on redmine, or markdown on github issues I`m not able to insert table in h

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-02-23 Thread Jan Michálek
I can try it, doesn`t look dificult, but I`m worry, that I`m not able to write clean, pretty code. 2017-02-23 18:03 GMT+01:00 Alvaro Herrera : > Leknín Řepánek wrote: > > I was mainly using tables in rst, i think, that this format is very > > similar to "grid tables" in markdown. And it is really

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-02-28 Thread Jan Michálek
\g +---+--+ |column1| column2 | +===+==+ | nasral Franta+| Žluťoučký kobyly | | na trabanta | | +---+--+ | ' | a b| +---+--+ (2 rows) jelen=# 2

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-02-28 Thread Jan Michálek
There it is, what i have. I need i small help with psql.out, because \pset format wrapped. I don`t know, how to have it in fixed width. 2017-02-28 14:23 GMT+01:00 Jan Michálek : > Current state is something like this (diff is attached). > I currently haven`t regression test, tab completi

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-01 Thread Jan Michálek
Sorry, I have some errors in my diff, i had copy something from bad folder. I will fix it. 2017-03-01 0:27 GMT+01:00 Jan Michálek : > There it is, what i have. > I need i small help with psql.out, because \pset format wrapped. I don`t > know, how to have it in fixed width. > > 2

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-01 Thread Jan Michálek
Regression test corrected. 2017-03-01 11:43 GMT+01:00 Jan Michálek : > Sorry, I have some errors in my diff, i had copy something from bad > folder. I will fix it. > > 2017-03-01 0:27 GMT+01:00 Jan Michálek : > >> There it is, what i have. >> I need i small help w

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-05 Thread Jan Michálek
linestyle just > chooses between different styles for the plain-text table format. > > On 3/1/17 06:31, Jan Michálek wrote: > > Regression test corrected. > > > > 2017-03-01 11:43 GMT+01:00 Jan Michálek > <mailto:godzilalal...@gmail.com>>: > > > >

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-05 Thread Jan Michálek
It is question if it is really new format, because formating is the same as aligned/wrapped format, changed is only style of lines. 2017-03-05 12:36 GMT+01:00 Pavel Stehule : > > > 2017-03-05 11:40 GMT+01:00 Jan Michálek : > >> I know, but, both new linestyles are created li

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-05 Thread Jan Michálek
2017-03-05 13:39 GMT+01:00 Pavel Stehule : > > > 2017-03-05 13:22 GMT+01:00 Pavel Stehule : > >> >> >> 2017-03-05 13:08 GMT+01:00 Jan Michálek : >> >>> It is question if it is really new format, because formating is the same >>> as

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-06 Thread Jan Michálek
2017-03-05 14:02 GMT+01:00 Jan Michálek : > > > 2017-03-05 13:39 GMT+01:00 Pavel Stehule : > >> >> >> 2017-03-05 13:22 GMT+01:00 Pavel Stehule : >> >>> >>> >>> 2017-03-05 13:08 GMT+01:00 Jan Michálek : >>> >>>&

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-06 Thread Jan Michálek
2017-03-06 16:25 GMT+01:00 Pavel Stehule : > > > 2017-03-06 16:17 GMT+01:00 Jan Michálek : > >> >> >> 2017-03-06 15:19 GMT+01:00 Pavel Stehule : >> >>> >>> >>> 2017-03-06 0:26 GMT+01:00 Jan Michálek : >>> >>>> &

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-06 Thread Jan Michálek
2017-03-06 19:45 GMT+01:00 Peter Eisentraut : > On 3/5/17 05:40, Jan Michálek wrote: > > jelen=# \pset linestyle rst > > Line style is rst. > > jelen=# \pset format wrapped > > Output format is wrapped. > > jelen=# SEL

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-10 Thread Jan Michálek
2017-03-09 20:10 GMT+01:00 Peter Eisentraut < peter.eisentr...@2ndquadrant.com>: > This is looking pretty neat. I played around with it a bit. There are > a couple of edge cases that you need to address, I think. > Thanks, original code is very synoptical and and well prepared for adding new fo

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-12 Thread Jan Michálek
I find, there is problem in tab indent in rst, it looks that lines should be aligned to left in some cases. 2017-03-10 9:43 GMT+01:00 Jan Michálek : > > > 2017-03-09 20:10 GMT+01:00 Peter Eisentraut com>: > >> This is looking pretty neat. I played around with it a bit.

Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki

2017-03-12 Thread Jan Michálek
2017-03-10 9:43 GMT+01:00 Jan Michálek : > > > 2017-03-09 20:10 GMT+01:00 Peter Eisentraut com>: > >> This is looking pretty neat. I played around with it a bit. There are >> a couple of edge cases that you need to address, I think. >> > > Thanks, origin