pg_basebackup on standby node failed

Поиск
Список
Период
Сортировка
От Ying He
Тема pg_basebackup on standby node failed
Дата
Msg-id 1391206047.8523.YahooMailNeo@web164604.mail.gq1.yahoo.com
обсуждение исходный текст
Ответы Re: pg_basebackup on standby node failed  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
hi, All,

I intend to do a basebackup on a hot standby node. I followed  the instructions on http://www.postgresql.org/docs/9.2/static/app-pgbasebackup.html to turn full_page_writes on at master and other settings on standby.

When I try to select pg_start_backup('backuplabel'); on the standby instance, it give me the following:
ERROR:  recovery is in progress
HINT:  WAL control functions cannot be executed during recovery.

I tried select  pg_xlog_replay_pause(); before the select pg_start_backup('backuplabel'); but that does not help.

Also why select pg_is_in_recovery(); always returns true when select  pg_is_xlog_replay_paused(); is true? I thought when I do select  pg_xlog_replay_pause(); the standby should not be in recovery

Please help if you know anything about this. Thank you.

best,
Ying

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Insert result does not match record count
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pg_basebackup on standby node failed