comment needs to be updated for HS?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема comment needs to be updated for HS?
Дата
Msg-id AANLkTilrVx3LFdD6vd5WDfbIkXCYR_zyg77jPihnhLyj@mail.gmail.com
обсуждение исходный текст
Ответы Re: comment needs to be updated for HS?  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
postmaster.c contains the following comment just above the definition
of PMState.  It appears to be out of date:
* After reaching a consistent point in WAL redo, startup process signals* us again, and we switch to
PM_RECOVERY_CONSISTENTstate. There's currently* no difference between PM_RECOVERY and PM_RECOVERY_CONSISTENT, but we*
couldstart accepting connections to perform read-only queries at this* point, if we had the infrastructure to do that.
 

The next paragraph has what I believe to be the correct information:
* Normal child backends can only be launched when we are in PM_RUN or* PM_RECOVERY_CONSISTENT state.  (We also allow
launchof normal
 

I am happy to fix this but thought SImon or Heikki or Tom might like
to either (a) jump in and do it themselves or (b) tell me if I've
misunderstood the situation.  If neither of those is the case then I
will go ahead and fix it.

Thanks,

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


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

Предыдущее
От: David Christensen
Дата:
Сообщение: Re: Tags missing from GIT mirror?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_upgrade versus MSVC build scripts