From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Szymon Guz <mabewlun(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: new unicode table border styles for psql |
Date: | 2013-11-22 08:26:43 |
Message-ID: | CAFj8pRAQ7kyeP5bFinS+XgcHZOA-gdZo-Eya3Rqbq_vRryw_kA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2013/11/21 Szymon Guz <mabewlun(at)gmail(dot)com>
> On 21 November 2013 21:15, Szymon Guz <mabewlun(at)gmail(dot)com> wrote:
>
>>
>>
>>
>> On 21 November 2013 20:20, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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 <mabewlun(at)gmail(dot)com>
>>>
>>>> On 21 November 2013 08:09, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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 feature is generally interesting and should be in
>>>>> core?
>>>>>
>>>>> Regards
>>>>>
>>>>> Pavel
>>>>>
>>>>
>>>> YES!
>>>>
>>>> - Szymon
>>>>
>>>
>>>
>> That's pretty cool, I'd love to see it in the core, however it doesn't
>> contain any documentation, so I'm afraid it will be hard to use for people.
>>
>> thanks,
>> Szymon
>>
>
> Hi Pavel,
> I've found two errors in the documentation at
> http://postgres.cz/wiki/Pretty_borders_in_psql
>
> 1)
>
> The unicode-double5 style looks like:
>
> x=# select * from t;
> ┌───┬───┬───┐
> │ a │ b │ t │
> ╞═══╪═══╪═══╡
> │ 1 │ 1 │ a │
> ├───┼───┼───┤
> │ 2 │ 2 │ b │
> ├───┼───┼───┤
> │ 3 │ 3 │ c │
> └───┴───┴───┘
> (3 rows)
>
> (There are horizontal lines between rows)
>
> 2) There is no unicode-double6 in psql, however it exists on the website.
>
website is related to patch for 9.3 (I add note there)
patch for 9.4 is fixed - and now with small doc
Regards
Pavel
>
> regards,
> Szymon
>
Attachment | Content-Type | Size |
---|---|---|
psql-pretty-borders.patch | text/x-patch | 20.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Marko Kreen | 2013-11-22 09:35:23 | Re: PL/Python: domain over array support |
Previous Message | Fabien COELHO | 2013-11-22 08:24:10 | Re: gaussian distribution pgbench |