Re: [HACKERS] new unicode table border styles for psql

2013-11-28 Thread Robert Haas
On Tue, Nov 26, 2013 at 2:08 PM, Peter Eisentraut pete...@gmx.net wrote: Now for the linestyles. I can see how some of them are attractive, but several of them have poor aesthetics, I think. I don't see a reason to accept 7 new styles just for fun. If I had to choose, I'd consider -double1

Re: [HACKERS] new unicode table border styles for psql

2013-11-28 Thread Alvaro Herrera
Robert Haas escribió: On Tue, Nov 26, 2013 at 2:08 PM, Peter Eisentraut pete...@gmx.net wrote: Now for the linestyles. I can see how some of them are attractive, but several of them have poor aesthetics, I think. I don't see a reason to accept 7 new styles just for fun. If I had to

Re: [HACKERS] new unicode table border styles for psql

2013-11-28 Thread Robert Haas
On Thu, Nov 28, 2013 at 4:48 PM, Alvaro Herrera alvhe...@2ndquadrant.com wrote: Robert Haas escribió: On Tue, Nov 26, 2013 at 2:08 PM, Peter Eisentraut pete...@gmx.net wrote: Now for the linestyles. I can see how some of them are attractive, but several of them have poor aesthetics, I

Re: [HACKERS] new unicode table border styles for psql

2013-11-28 Thread Peter Eisentraut
On Thu, 2013-11-28 at 16:23 -0500, Robert Haas wrote: On Tue, Nov 26, 2013 at 2:08 PM, Peter Eisentraut pete...@gmx.net wrote: Now for the linestyles. I can see how some of them are attractive, but several of them have poor aesthetics, I think. I don't see a reason to accept 7 new

Re: [HACKERS] new unicode table border styles for psql

2013-11-28 Thread Peter Eisentraut
On Thu, 2013-11-28 at 18:48 -0300, Alvaro Herrera wrote: An output style that emits DocBook markup for tables, something which we could paste on the docs. DocBook supports HTML tables from version 4.3 on. We currently use version 4.2, but we could presumably raise that if needed. -- Sent

Re: [HACKERS] new unicode table border styles for psql

2013-11-28 Thread Pavel Stehule
2013/11/28 Robert Haas robertmh...@gmail.com On Tue, Nov 26, 2013 at 2:08 PM, Peter Eisentraut pete...@gmx.net wrote: Now for the linestyles. I can see how some of them are attractive, but several of them have poor aesthetics, I think. I don't see a reason to accept 7 new styles just for

Re: [HACKERS] new unicode table border styles for psql

2013-11-28 Thread Pavel Stehule
2013/11/28 Alvaro Herrera alvhe...@2ndquadrant.com Robert Haas escribió: On Tue, Nov 26, 2013 at 2:08 PM, Peter Eisentraut pete...@gmx.net wrote: Now for the linestyles. I can see how some of them are attractive, but several of them have poor aesthetics, I think. I don't see a reason

Re: [HACKERS] new unicode table border styles for psql

2013-11-27 Thread Pavel Stehule
2013/11/26 Pavel Stehule pavel.steh...@gmail.com 2013/11/26 Peter Eisentraut pete...@gmx.net On 11/22/13, 3:26 AM, Pavel Stehule wrote: website is related to patch for 9.3 (I add note there) patch for 9.4 is fixed - and now with small doc I think it would help if we considered the

Re: [HACKERS] new unicode table border styles for psql

2013-11-26 Thread Pavel Stehule
sorry for offtopic 2013/11/25 Dimitri Fontaine dimi...@2ndquadrant.fr Andrew Dunstan and...@dunslane.net writes: Even if it is it's totally off topic. Please don't hijack email threads. Well, when I read that parsing a user setup is too complex, for me that calls for a solution that

Re: [HACKERS] new unicode table border styles for psql

2013-11-26 Thread Peter Eisentraut
On 11/22/13, 3:26 AM, Pavel Stehule wrote: website is related to patch for 9.3 (I add note there) patch for 9.4 is fixed - and now with small doc I think it would help if we considered the new border styles and the new line styles separately. I don't find the new border styles to be

Re: [HACKERS] new unicode table border styles for psql

2013-11-26 Thread Pavel Stehule
2013/11/26 Peter Eisentraut pete...@gmx.net On 11/22/13, 3:26 AM, Pavel Stehule wrote: website is related to patch for 9.3 (I add note there) patch for 9.4 is fixed - and now with small doc I think it would help if we considered the new border styles and the new line styles separately.

Re: [HACKERS] new unicode table border styles for psql

2013-11-25 Thread Dimitri Fontaine
Pavel Stehule pavel.steh...@gmail.com writes: there is other issue - simply parser will be really user unfriendly, and user friendly parser will not by simply :( If simple things are hard to implement, get yourself better tools. Each time we get on the topic of improving scripting abilities

Re: [HACKERS] new unicode table border styles for psql

2013-11-25 Thread Merlin Moncure
On Mon, Nov 25, 2013 at 3:33 AM, Dimitri Fontaine dimi...@2ndquadrant.fr wrote: Pavel Stehule pavel.steh...@gmail.com writes: there is other issue - simply parser will be really user unfriendly, and user friendly parser will not by simply :( If simple things are hard to implement, get

Re: [HACKERS] new unicode table border styles for psql

2013-11-25 Thread Andrew Dunstan
On 11/25/2013 09:00 AM, Merlin Moncure wrote: On Mon, Nov 25, 2013 at 3:33 AM, Dimitri Fontaine dimi...@2ndquadrant.fr wrote: Pavel Stehule pavel.steh...@gmail.com writes: there is other issue - simply parser will be really user unfriendly, and user friendly parser will not by simply :( If

Re: [HACKERS] new unicode table border styles for psql

2013-11-25 Thread Dimitri Fontaine
Andrew Dunstan and...@dunslane.net writes: Even if it is it's totally off topic. Please don't hijack email threads. Well, when I read that parsing a user setup is too complex, for me that calls for a solution that offers more power to the user without us having to write specialized code each

Re: [HACKERS] new unicode table border styles for psql

2013-11-25 Thread Andrew Dunstan
On 11/25/2013 09:33 AM, Dimitri Fontaine wrote: Andrew Dunstan and...@dunslane.net writes: Even if it is it's totally off topic. Please don't hijack email threads. Well, when I read that parsing a user setup is too complex, for me that calls for a solution that offers more power to the user

Re: [HACKERS] new unicode table border styles for psql

2013-11-25 Thread Dimitri Fontaine
Andrew Dunstan and...@dunslane.net writes: I'm sorry, but I don't understand how off-topic or hijack applies here. And I just realize there's another way to read what Pavel said, which is that *user scripts* parsing the output of psql might become harder to write as soon as they don't control

Re: [HACKERS] new unicode table border styles for psql

2013-11-23 Thread Vik Fearing
On 11/21/2013 10:39 PM, Peter Eisentraut wrote: On 11/21/13, 2:09 AM, Pavel Stehule wrote: I wrote new styles for psql table borders. http://postgres.cz/wiki/Pretty_borders_in_psql This patch is simply and I am think so some styles can be interesting for final presentation. Do you think

Re: [HACKERS] new unicode table border styles for psql

2013-11-22 Thread Pavel Stehule
Hello 2013/11/21 Peter Eisentraut pete...@gmx.net On 11/21/13, 2:09 AM, Pavel Stehule wrote: Hello I wrote new styles for psql table borders. http://postgres.cz/wiki/Pretty_borders_in_psql This patch is simply and I am think so some styles can be interesting for final

Re: [HACKERS] new unicode table border styles for psql

2013-11-22 Thread Pavel Stehule
Hello 2013/11/21 Merlin Moncure mmonc...@gmail.com On Thu, Nov 21, 2013 at 1:09 AM, Pavel Stehule pavel.steh...@gmail.com wrote: Hello I wrote new styles for psql table borders. http://postgres.cz/wiki/Pretty_borders_in_psql This patch is simply and I am think so some styles

Re: [HACKERS] new unicode table border styles for psql

2013-11-22 Thread Pavel Stehule
2013/11/21 Szymon Guz mabew...@gmail.com On 21 November 2013 21:15, Szymon Guz mabew...@gmail.com wrote: On 21 November 2013 20:20, Pavel Stehule pavel.steh...@gmail.com wrote: So here is patch for 9.4 7 new line styles, 2 new border styles, \pset border autocomplete Regards Pavel

Re: [HACKERS] new unicode table border styles for psql

2013-11-22 Thread Merlin Moncure
On Fri, Nov 22, 2013 at 2:23 AM, Pavel Stehule pavel.steh...@gmail.com wrote: Hello 2013/11/21 Merlin Moncure mmonc...@gmail.com On Thu, Nov 21, 2013 at 1:09 AM, Pavel Stehule pavel.steh...@gmail.com wrote: Hello I wrote new styles for psql table borders.

Re: [HACKERS] new unicode table border styles for psql

2013-11-22 Thread Pavel Stehule
2013/11/22 Merlin Moncure mmonc...@gmail.com On Fri, Nov 22, 2013 at 2:23 AM, Pavel Stehule pavel.steh...@gmail.com wrote: Hello 2013/11/21 Merlin Moncure mmonc...@gmail.com On Thu, Nov 21, 2013 at 1:09 AM, Pavel Stehule pavel.steh...@gmail.com wrote: Hello I wrote new

Re: [HACKERS] new unicode table border styles for psql

2013-11-22 Thread Alvaro Herrera
Pavel Stehule escribió: 2013/11/21 Peter Eisentraut pete...@gmx.net Maybe make the border setting a string containing the various characters by index. Then everyone can create their own crazy borders. I seriously though about it, but not sure if it is good way. How about having a

Re: [HACKERS] new unicode table border styles for psql

2013-11-22 Thread Merlin Moncure
On Fri, Nov 22, 2013 at 8:45 AM, Alvaro Herrera alvhe...@2ndquadrant.com wrote: Pavel Stehule escribió: 2013/11/21 Peter Eisentraut pete...@gmx.net Maybe make the border setting a string containing the various characters by index. Then everyone can create their own crazy borders. I

Re: [HACKERS] new unicode table border styles for psql

2013-11-22 Thread Pavel Stehule
2013/11/22 Alvaro Herrera alvhe...@2ndquadrant.com Pavel Stehule escribió: 2013/11/21 Peter Eisentraut pete...@gmx.net Maybe make the border setting a string containing the various characters by index. Then everyone can create their own crazy borders. I seriously though about

Re: [HACKERS] new unicode table border styles for psql

2013-11-21 Thread Szymon Guz
On 21 November 2013 08:09, Pavel Stehule pavel.steh...@gmail.com wrote: Hello I wrote new styles for psql table borders. http://postgres.cz/wiki/Pretty_borders_in_psql This patch is simply and I am think so some styles can be interesting for final presentation. Do you think so this

Re: [HACKERS] new unicode table border styles for psql

2013-11-21 Thread amul sul
YES! +1 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers

Re: [HACKERS] new unicode table border styles for psql

2013-11-21 Thread Andrew Dunstan
On 11/21/2013 04:39 PM, Peter Eisentraut wrote: On 11/21/13, 2:09 AM, Pavel Stehule wrote: Hello I wrote new styles for psql table borders. http://postgres.cz/wiki/Pretty_borders_in_psql This patch is simply and I am think so some styles can be interesting for final presentation. Do you

Re: [HACKERS] new unicode table border styles for psql

2013-11-21 Thread Pavel Stehule
I should to appen list of new styles to doc. Style double6 doesnt exist, because I renamed double5 to bold1 (and created second bold2) I will update patch tomorrow - it will be in cf4 Regards Pavel Dne 21.11.2013 21:37 Szymon Guz mabew...@gmail.com napsal(a): On 21 November 2013 21:15, Szymon

Re: [HACKERS] new unicode table border styles for psql

2013-11-21 Thread Peter Eisentraut
On 11/21/13, 2:09 AM, Pavel Stehule wrote: Hello I wrote new styles for psql table borders. http://postgres.cz/wiki/Pretty_borders_in_psql This patch is simply and I am think so some styles can be interesting for final presentation. Do you think so this feature is generally

Re: [HACKERS] new unicode table border styles for psql

2013-11-21 Thread Pavel Stehule
So here is patch for 9.4 7 new line styles, 2 new border styles, \pset border autocomplete Regards Pavel 2013/11/21 Szymon Guz mabew...@gmail.com On 21 November 2013 08:09, Pavel Stehule pavel.steh...@gmail.com wrote: Hello I wrote new styles for psql table borders.

Re: [HACKERS] new unicode table border styles for psql

2013-11-21 Thread Szymon Guz
On 21 November 2013 20:20, Pavel Stehule pavel.steh...@gmail.com wrote: So here is patch for 9.4 7 new line styles, 2 new border styles, \pset border autocomplete Regards Pavel 2013/11/21 Szymon Guz mabew...@gmail.com On 21 November 2013 08:09, Pavel Stehule pavel.steh...@gmail.com

Re: [HACKERS] new unicode table border styles for psql

2013-11-21 Thread Merlin Moncure
On Thu, Nov 21, 2013 at 1:09 AM, Pavel Stehule pavel.steh...@gmail.com wrote: Hello I wrote new styles for psql table borders. http://postgres.cz/wiki/Pretty_borders_in_psql This patch is simply and I am think so some styles can be interesting for final presentation. great. hm, maybe we

Re: [HACKERS] new unicode table border styles for psql

2013-11-21 Thread Szymon Guz
On 21 November 2013 21:15, Szymon Guz mabew...@gmail.com wrote: On 21 November 2013 20:20, Pavel Stehule pavel.steh...@gmail.com wrote: So here is patch for 9.4 7 new line styles, 2 new border styles, \pset border autocomplete Regards Pavel 2013/11/21 Szymon Guz

[HACKERS] new unicode table border styles for psql

2013-11-20 Thread Pavel Stehule
Hello I wrote new styles for psql table borders. http://postgres.cz/wiki/Pretty_borders_in_psql This patch is simply and I am think so some styles can be interesting for final presentation. Do you think so this feature is generally interesting and should be in core? Regards Pavel