Re: Re: [BUGS] BUG #5650: Postgres service showing as stopped when in fact it is running

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: [BUGS] BUG #5650: Postgres service showing as stopped when in fact it is running
Дата
Msg-id 201011270045.oAR0juG02568@momjian.us
обсуждение исходный текст
Ответ на Re: Re: [BUGS] BUG #5650: Postgres service showing as stopped when in fact it is running  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: [BUGS] BUG #5650: Postgres service showing as stopped when in fact it is running  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> I wrote:
> > The reason this is a problem is that somebody, in a fit of inappropriate
> > optimization, took out the code that allowed canAcceptConnections to
> > distinguish the "not consistent yet" state.
> 
> Oh, no, that's not the case --- the PM_RECOVERY postmaster state does
> still distinguish not-ready from ready.  The real problem is that what
> Bruce implemented has practically nothing to do with what was discussed
> last week.  PQping is supposed to be smarter about classifying errors
> than this.

I was not aware this was discussed last week because I am behind on
email.  I was fixing a report from a month ago.  I did explain how I was
doing the tests.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Assertion failure on hot standby
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: libpq changes for synchronous replication