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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Attachment Content-Type Size
guc_dir.patch text/x-diff 7.2 KB


Browse pgsql-hackers by date

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