Re: [HACKERS] The behavior of CheckRequiredParameterValues()

2014-03-05 Thread Sawada Masahiko
On Wed, Mar 5, 2014 at 5:13 PM, Amit Langote wrote: > On Wed, Mar 5, 2014 at 12:07 PM, Amit Langote wrote: >> On Wed, Mar 5, 2014 at 2:09 AM, Sawada Masahiko >> wrote: >> >>> >>> xlog.c:6177 >>> if (ControlFile->wal_level < WAL_LEVEL_HOT_STANDBY) >>> ereport(ERROR, >>> (errms

Re: [HACKERS] The behavior of CheckRequiredParameterValues()

2014-03-05 Thread Amit Langote
On Wed, Mar 5, 2014 at 12:07 PM, Amit Langote wrote: > On Wed, Mar 5, 2014 at 2:09 AM, Sawada Masahiko wrote: > >> >> xlog.c:6177 >> if (ControlFile->wal_level < WAL_LEVEL_HOT_STANDBY) >> ereport(ERROR, >> (errmsg("hot standby is not possible because wal_level was not >> >> So

Re: [HACKERS] The behavior of CheckRequiredParameterValues()

2014-03-04 Thread Amit Langote
On Wed, Mar 5, 2014 at 2:09 AM, Sawada Masahiko wrote: > > xlog.c:6177 > if (ControlFile->wal_level < WAL_LEVEL_HOT_STANDBY) > ereport(ERROR, > (errmsg("hot standby is not possible because wal_level was not > > So we have to start and stop standby server with changed > wal_leve

Re: [HACKERS] The behavior of CheckRequiredParameterValues()

2014-03-04 Thread Haribabu Kommi
On Wed, Mar 5, 2014 at 4:09 AM, Sawada Masahiko wrote: > Hi all, > > I had doubts regarding behavior of CheckRequiredParameterValues() function. > > I could not start standby server which is created by pg_basebackup > with following scenario. > 1. Start the master server with 'wal_level = archve'

[HACKERS] The behavior of CheckRequiredParameterValues()

2014-03-04 Thread Sawada Masahiko
Hi all, I had doubts regarding behavior of CheckRequiredParameterValues() function. I could not start standby server which is created by pg_basebackup with following scenario. 1. Start the master server with 'wal_level = archve' , 'hot_standby = on' and other settings of replication. 2. Create th