Re: new unicode table border styles for psql

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-21 21:00:55
Message-ID: CAFj8pRCm-9cGKQzqU9jnQy099k0QPXrxDG6261HomzFHxvQokQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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" <mabewlun(at)gmail(dot)com> napsal(a):

> 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.
>
> regards,
> Szymon
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-11-21 21:02:29 Re: Data corruption issues using streaming replication on 9.0.14/9.2.5/9.3.1
Previous Message Robert Haas 2013-11-21 20:59:35 Re: preserving forensic information when we freeze