Re: new unicode table border styles for psql - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: new unicode table border styles for psql
Date
Msg-id m21u244i4g.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: new unicode table border styles for psql  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@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 the default border style in use.

Well in that case, yes I'm vastly off-topic.

I was answering to how to parse the user setting itself, so writing C
code inside the psql source tree itself, and how to expose a fine
grained solution to that problem without having to write a whole new
configuration parser.

> It just seems to me to be a very big stretch to go from the topic of psql
> border styles to the topic of psql scripting support. Your use case would
> surely be using a sledgehammer to crack a nut. By all means argue for better
> scripting support in psql, but I would suggest your argument would be better
> if the use case were something more important and central to psql's purpose.

I think I just understood something entirely different that what you
were talking about.

-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: new unicode table border styles for psql
Next
From: Peter Eisentraut
Date:
Subject: Re: docbook-xsl version for release builds