Re: Parsing config files in a directory

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: jd(at)commandprompt(dot)com, Thom Brown <thombrown(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Greg Smith <gsmith(at)gregsmith(dot)com>, Greg Stark <gsstark(at)mit(dot)edu>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Parsing config files in a directory
Date: 2009-10-29 16:18:28
Message-ID: 4AE9C054.3060801@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>> The whole config file is a joke. We'd never do it the way we do if we
>> were designing it from scratch,
>>
>
> Why not, pray tell? We did design it from scratch, once upon a time,
> and I don't see that the design is so obviously broken that we'd not
> do the same thing if starting over.
>
>
>> but we seem to be incapable of biting
>> the bullet and replacing it with something sane, which is why I have
>> ignored most of the current debate.
>>
>
> I guess we'll just go without the benefit of your superior intelligence
> then.
>
>
>

*sigh*

Time passes, and surely there are plenty of thing we wouldn't do the
same today if we had a chance to do them again from scratch. That's not
slamming anyone who was involved in the past. People made decisions
based on knowledge and experience at the time. Despite your sarcasm, I
don't claim any superior intelligence, but I also don't see the sorts of
things people are talking about making any great improvement.

I play with config files for a LOT of different pieces of software,
because a lot of what I do involves integrating disparate systems. Years
ago flatish config files were pretty common, but that's much less true
today. Even fairly old pieces of software like apache have some
provision for structure. My personal opinion (and that's all it is) is
that until we tackle that, the rest is just tinkering.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergej Galkin 2009-10-29 16:23:35 about GiST indexes
Previous Message Joshua D. Drake 2009-10-29 16:13:52 Re: Parsing config files in a directory