Re: enhanced linestyles for psql - Mailing list pgsql-general

From Pavel Stehule
Subject Re: enhanced linestyles for psql
Date
Msg-id CAFj8pRBZqe+pbSzcsLMbLj0cJX0hFhf_SaQxWNhBrVgJ5hPoFA@mail.gmail.com
Whole thread Raw
In response to Re: enhanced linestyles for psql  (Alban Hertroys <haramrae@gmail.com>)
Responses Re: enhanced linestyles for psql
List pgsql-general
2012/5/24 Alban Hertroys <haramrae@gmail.com>:
> On 24 May 2012 15:33, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> hello
>>
>> I wrote patch for PostgreSQL 9.1 and 9.2 that adds more linestyles and
>> border styles to console
>
> Nice job!

Thank you :)

> I'm not entirely enthusiastic about the option names though. Would it
> help to split the setting into several?

I am sorry, but I cannot to change it. Now it is compatible with
builtin functionality in console. A  change means longer patch and
more necessary work for porting to new versions. So sorry

>
> For example:
> \pset borders-inside double single (double horizontal inside borders,
> single vertical)
> \pset borders-outside double

and this type of configuration is not possible - a syntax for psql
settings should be very simple (primitive)

>
> Or, since you can't really mix outside border-styles:
> \pset border-style <outside> <horizontal> <vertical>
>
> I'm not sure whether it would be desirable to have more control over
> inside borders, for example per column or row (or even cells)?
>
> Just something to ponder ;)

ook - if you have other ideas - other design, please, send it.

Regards

Pavel

>
> --
> If you can't see the forest for the trees,
> Cut the trees and you'll see there is no forest.

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: enhanced linestyles for psql
Next
From: Raghavendra
Date:
Subject: Re: enhanced linestyles for psql