postgresql CentOS 7.1 systemd streaming replica startup

Поиск
Список
Период
Сортировка
От Eugene Vilensky
Тема postgresql CentOS 7.1 systemd streaming replica startup
Дата
Msg-id CAEUKkZ_BB5uem8zRBtBm84=xko=WP8a9-0QaLLVGF6N6AeNs9Q@mail.gmail.com
обсуждение исходный текст
Список pgsql-novice
Hello,

I am using postgresql 9.3.4 on CentOS 7.1.  I have configured replication correctly, and attempted to use the systemD unit file included in the pgdg-provided package to start the replica.  Unfortunately while the replica appears to start correctly and I can monitor active WAL streaming, the systemd startup script aborts reporting that startup did not complete correctly.

Looking at the systemd unit file,The start command is:

ExecStart=/usr/pgsql-9.3/bin/pg_ctl start -D ${PGDATA} -s -w -t 300

Is it perhaps the -w parameter when starting a replica that causes systemd to not recognize that the replica has started correctly? 

Thank you,
Eugene

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: PGDATA on Windows
Следующее
От: Jude DaShiell
Дата:
Сообщение: Re: what's wrong with this code?