Re: A smaller default postgresql.conf - Mailing list pgsql-hackers

From Joshua Drake
Subject Re: A smaller default postgresql.conf
Date
Msg-id 20080819100447.4528ce6c@jd-laptop
Whole thread Raw
In response to Re: A smaller default postgresql.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: A smaller default postgresql.conf
List pgsql-hackers
On Tue, 19 Aug 2008 12:48:20 -0400
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Joshua Drake <jd@commandprompt.com> writes:
> > Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Well, why not just make a one-eighty and say that the default
> >> postgresql.conf is *empty* (except for whatever initdb puts into
> >> it)?
> 
> > I guess it would depend on what initdb puts into it.
> 
> Per the code:
> 
> max_connections
> shared_buffers
> max_fsm_pages        (slated to die anyway in 8.4)
> lc_messages
> lc_monetary
> lc_numeric
> lc_time
> datestyle
> default_text_search_config
> 
> The first three of those are derived from probing the SHMMAX setting,
> and the rest are from the initdb-time locale settings.

When I first started to reply I had a list of another dozen or so we
should add but in reality as I think about it; we need only one more
parameter. If we add listen_addresses and a link to the documention for
the rest, I would +1 this.

I was thinking about the apache conf and it is riddled with
documentation, lots and lots of text. I find that either I am irritated
with how much documentation there is (because I already understand the
directive I am working with) or I am frustrated because it doesn't
adequately explain the dependencies.

If we move to the above route, we end up in an environment with a
single source for "official" documentation and we can always point to
that.

Sincerely,

Joshua D. Drake


> 
>             regards, tom lane
> 


-- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/ 
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate




pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: A smaller default postgresql.conf
Next
From: Tom Lane
Date:
Subject: Re: Patch: plan invalidation vs stored procedures