Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.


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.



In response to

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group