Patch for reserved connections for replication users - Mailing list pgsql-hackers

From Gibheer
Subject Patch for reserved connections for replication users
Date
Msg-id 20130711193143.2376b0c2@linse.fritz.box
Whole thread Raw
Responses Re: Patch for reserved connections for replication users
List pgsql-hackers
Hi,

this patch introduces a new configuration flag
replication_reserved_connections to reserve connection slots for
replication in the same way superuser_reserved_connections works for
superusers.

This helps in cases where the application opens connections until
max_connections is reached. A slave would not be able to connect to the
master now and would just be down. With this patch the slave is able to
connect.

This option does not influence the superuser_reserved_connections, so
new slaves are not able to open new connections when the reserved
replication slots are filled.

The only thing this patch is missing are tests. Where should I put them
into the source tree?

thank you,

Stefan Radomski
Attachment

pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap [Review]
Next
From: Alvaro Herrera
Date:
Subject: Re: [PATCH] big test separation POC