Re: Permanent settings

From: tomas(at)tuxteam(dot)de
To: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Aidan Van Dyk <aidan(at)highrise(dot)ca>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Permanent settings
Date: 2008-02-20 08:03:17
Message-ID: 20080220080317.GA27224@www.trapp.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Feb 19, 2008 at 04:38:16PM +0100, Csaba Nagy wrote:
> > Are you suggesting we keep appending? So if I set the same parameter 100
> > times, it would show up on 100 rows?
>
> What about not touching the config file at all, but write to a separate
> file which is completely under the control of postgres and include that
> at the end of the config file ?

+2

Not only that, but including "in the middle" would allow to flexibly
state what may be overridden by the "gui" and what not. And it is a
clean separation of mechanism (general include mechanism) and policy.

More complex schemes (a top-level postgresql.conf and a directory of
includable module-specific files postgresql.conf.d) would be imaginable
(mimicking a bit Debian's way to deal with such things).

On syntax: anything (current is fine by me :) but please not XML :-/

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFHu97FBcgs9XrR2kYRAul8AJ0dbPgVUjMCroIfUB9k4p6n6NU1vwCdFkLK
HIdGsrX+lWOFBAJKSEDW2Ms=
=lxkZ
-----END PGP SIGNATURE-----

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-02-20 08:51:56 Re: Permanent settings
Previous Message Тюрин Дмитрий 2008-02-20 06:22:04 distibuted transactions, SQL+XPath+XTree