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

Parsing config files in a directory

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Parsing config files in a directory
Date: 2009-10-24 13:41:27
Message-ID: 9837222c0910240641p7d75e2a4u2cfa6c1b5e603d84@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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? :-)

-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Attachment: guc_dir.patch
Description: text/x-diff (7.2 KB)

Responses

pgsql-hackers by date

Next:From: Grzegorz JaskiewiczDate: 2009-10-24 14:56:39
Subject: Re: Parsing config files in a directory
Previous:From: Stefan MoedingDate: 2009-10-24 06:00:54
Subject: Re: per table random-page-cost?

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