Re: [GENERAL] Why there are no max_wal_receivers

2013-10-08 Thread Adrian Klaver
On 10/07/2013 11:05 PM, 高健 wrote: Hello: Thank you all for kindly replying my question. I read the documentation about pg_basebackup. The description says: The server must also be configured with max_wal_senders set high enough to leave at least one session available for the backup. Dose

Re: [GENERAL] Why there are no max_wal_receivers

2013-10-07 Thread Amit Langote
On Tue, Oct 8, 2013 at 3:05 PM, 高健 wrote: > Hello: > > > > > > Thank you all for kindly replying my question. > > > I read the documentation about pg_basebackup. > > > The description says: > > The server must also be configured with max_wal_senders set high enough to > leave at least one session

Re: [GENERAL] Why there are no max_wal_receivers

2013-10-07 Thread 高健
Hello: Thank you all for kindly replying my question. I read the documentation about pg_basebackup. The description says: The server must also be configured with max_wal_senders set high enough to leave at least one session available for the backup. Dose it mean: If I am building a one

Re: [GENERAL] Why there are no max_wal_receivers

2013-10-07 Thread Adrian Klaver
On 10/06/2013 09:53 PM, Amit Langote wrote: Hi, On Mon, Oct 7, 2013 at 12:02 PM, 高健 wrote: Hello : I found that for PG9.2.4, there is parameter max_wal_senders, But there is no parameter of max_wal_receivers. max_wal_senders is the maximum number of WAL sender processes that a primary s

Re: [GENERAL] Why there are no max_wal_receivers

2013-10-06 Thread Amit Langote
Hi, On Mon, Oct 7, 2013 at 12:02 PM, 高健 wrote: > Hello : > > > I found that for PG9.2.4, there is parameter max_wal_senders, > > But there is no parameter of max_wal_receivers. > > max_wal_senders is the maximum number of WAL sender processes that a primary server can create in response to reque

[GENERAL] Why there are no max_wal_receivers

2013-10-06 Thread 高健
Hello : I found that for PG9.2.4, there is parameter max_wal_senders, But there is no parameter of max_wal_receivers. Is that to say, that If max_wal_senders are 3. Then 3 wal_senders will be activated , And then on the standby server, there will be 3 "receivers" for counter-part ? Th