Re: Parsing config files in a directory

From: Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Parsing config files in a directory
Date: 2009-10-24 14:56:39
Message-ID: 9516EDC0-B2FB-4C99-8388-9E29F44B8495@pointblue.com.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 24 Oct 2009, at 14:41, Magnus Hagander wrote:

> Per discussion at the developer meeting back in Ottawa, attached is an
> initial patch that implements reading a directory of configuration
> files instead of just one. The idea being that something like a tuning
> tool, or pgadmin, for example can drop and modify files in this
> directory instead of modifying the main config file (which can be very
> hard to machine-parse). The idea is the same as other software like
> apache that parses multiple files.
>
> Files are parsed in alphabetical order so it's predictable, and you
> can make sure some files override others etc.
>
> Comments, before I go do the final polishing? :-)
I don't know what the discussion topics were, since I was not there.
But primary question is, cannot that be achieved with simple includes
in postgresql.conf ?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-10-24 16:20:25 Re: Parsing config files in a directory
Previous Message Magnus Hagander 2009-10-24 13:41:27 Parsing config files in a directory