Re: [HACKERS] Streaming replication document improvements

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Josh Berkus" <josh(at)agliodbs(dot)com>, "Heikki Linnakangas" <heikki(dot)linnakangas(at)enterprisedb(dot)com>, "Fujii Masao" <masao(dot)fujii(at)gmail(dot)com>, <pgsql-docs(at)postgresql(dot)org>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Streaming replication document improvements
Date: 2010-04-20 14:24:38
Message-ID: 4BCD72D60200002500030BBA@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>>> 3. Your proposal
>>> Treat superuser replication connection like non-superuser one
>
>> Well, only for this one very specific purpose. I would adjust
>> the docs like this:
>
>> Determines the number of connection "slots" that are reserved for
>> connections by PostgreSQL superusers. At most max_connections
>> connections can ever be active simultaneously. Whenever the
>> number of active concurrent connections is at least
>> max_connections minus superuser_reserved_connections, new
>> connections will be accepted only for superusers, and no new
>> replication connections will be accepted.
>
>> I think that's pretty simple and clear.
>
> +1. I'm not sure about the consequences of converting walsender
> to non-superuser across the board, and would prefer not to
> experiment with it at this stage of the release cycle.

+1

-Kevin

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Jim Nasby 2010-04-20 23:34:00 Inconsistency in docs for OVERLAPS
Previous Message Tom Lane 2010-04-20 14:08:37 Re: [HACKERS] Streaming replication document improvements

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2010-04-20 14:28:23 Re: [GENERAL] trouble with to_char('L')
Previous Message Tom Lane 2010-04-20 14:19:45 Re: Thoughts on pg_hba.conf rejection