Skip site navigation (1) Skip section navigation (2)

max_wal_senders must die

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: max_wal_senders must die
Date: 2010-10-19 00:20:01
Message-ID: 4CBCE431.4050608@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Hackers,

What purpose is served, exactly, by max_wal_senders?

In order for a standby to connect, it must have a superuser login, and 
replication connections must be enabled in pg_hba.conf.  How is having 
one more setting in one more file you have to enable on the master 
benefitting anyone?

Under what bizarre set of circumstances would anyone have runaway 
connections from replicas to the master?

Proposed that we simply remove this setting in 9.1.  The real maximum 
wal senders should be whatever max_connections is.

-- 
                                   -- Josh Berkus
                                      PostgreSQL Experts Inc.
                                      http://www.pgexperts.com

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2010-10-19 02:16:22
Subject: Re: PL/JS
Previous:From: Josh BerkusDate: 2010-10-19 00:16:22
Subject: Simplifying replication

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group