Re: Permanent settings

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Aidan Van Dyk <aidan(at)highrise(dot)ca>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Permanent settings
Date: 2008-02-19 16:19:16
Message-ID: 20080219161916.GB3091@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 19, 2008 at 11:09:43AM -0500, Aidan Van Dyk wrote:
> * Magnus Hagander <magnus(at)hagander(dot)net> [080219 10:39]:
> > On Tue, Feb 19, 2008 at 10:34:26AM -0500, Aidan Van Dyk wrote:
> > > > Are you suggesting we keep appending? So if I set the same parameter 100
> > > > times, it would show up on 100 rows?
> > >
> > > In my opinion, absolutely. It's easy, safe, and the "overhead"
> > > associated with it is minimal, and not in any critical path "work" path.
> > > Add to that the fact that the admin can easily clean up the file any
> > > time he wants too.
> >
> > I think that's entirely unworkable. While I absolutelyi don't want to break
> > things for people who use the config file as the primary interface (heck,
> > *I* am one of those people), it has to be usable for the case it's trying
> > to fix. And this really wouldn't be.
>
> Can you explain why this wouldn't be usable?

Because you will end up with an ever-growing file, that will be a PITA to
deal with. Consider it after 10k+ changes. (yes, I can see that happening.
You know how some people use GUIs) Or 100k. The problem does not happen at
100 lines...

I can see the solution with a single file with them all in, but it needs to
be able to overwrite them IMHO.

//Magnus

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-02-19 16:20:18 Re: Permanent settings
Previous Message Magnus Hagander 2008-02-19 16:16:25 Re: Permanent settings