Re: enhanced linestyles for psql

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: enhanced linestyles for psql
Date: 2012-05-24 14:24:33
Message-ID: CAF-3MvOjp0KTfP2h5POrFcugonM5-DQZTik+hGEBnrKLhhrtiw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 24 May 2012 15:33, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
> hello
>
> I wrote patch for PostgreSQL 9.1 and 9.2 that adds more linestyles and
> border styles to console

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

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

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 ;)

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2012-05-24 14:33:21 Re: enhanced linestyles for psql
Previous Message Pavel Stehule 2012-05-24 13:33:38 enhanced linestyles for psql