Re: [DOCS] Streaming replication document improvements - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: [DOCS] Streaming replication document improvements
Date
Msg-id k2i3f0b79eb1004012306xdfa88c1cudd77b61368c997ea@mail.gmail.com
Whole thread Raw
In response to Re: [DOCS] Streaming replication document improvements  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [DOCS] Streaming replication document improvements  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Fri, Apr 2, 2010 at 2:58 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> It's probably also easy to fix so that it doesn't NEED to be documented.
>
> The thing is, when dealing with new features, we reduce our overall
> maintenance burden if we get it right the first time.  Obviously it's
> too late for major changes, but minor adjustments to maintain the POLA
> seem like exactly what we SHOULD be doing right now.

The attached patch implements the Heikki's proposal:

----------
ReservedBackends = superuser_reserved_connections + max_wal_senders
MaxBackends = max_connections + autovacuum_max_workers + max_wal_senders + 1
----------

This change looks like minor adjustments rather than major changes.

I have one question:
In the patch, max_wal_senders is ignored by CheckRequiredParameterValues()
as autovacuum_max_workers is already. Is this OK for HS?

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Takahiro Itagaki
Date:
Subject: Re: Problem of Magic Block in Postgres 8.2
Next
From: Josh Berkus
Date:
Subject: Re: Compile fail, alpha5 & gcc 4.3.3 in elog.c