Re: Parsing config files in a directory

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Thom Brown <thombrown(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Greg Smith <gsmith(at)gregsmith(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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 15:17:34
Message-ID: 1256829454.10954.16.camel@jd-desktop.unknown.charter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 2009-10-29 at 12:31 +0000, Thom Brown wrote:
> 2009/10/29 Andrew Dunstan <andrew(at)dunslane(dot)net>:

> > Why not allow something like += or .= instead of the = to denote appending
> > to a list?
> >
> > custom_variable_classes += 'x'
> >
> > seems a whole lot nicer to me.
> >
>
> I would see that as making the config more programatic so while that
> might not look too weird to a developer, it could be confusing for a
> DBA or system administrator. I don't think that's how config files
> should work, and it also adds gotchas like the following.
>

The DBAs I know would think we were absolutely off our rocker for such a
thing. At least it would make great humor at presentations.

Joshua D. Drake

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering
If the world pushes look it in the eye and GRR. Then push back harder. - Salamander

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-10-29 15:18:47 Re: Parsing config files in a directory
Previous Message Pavel Stehule 2009-10-29 14:46:12 Re: Parsing config files in a directory