Re: [HACKERS] Streaming replication document improvements

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: [HACKERS] Streaming replication document improvements
Дата
Msg-id
25094.1271866859@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Streaming replication document improvements Fujii Masao <masao.fujii@gmail.com>
Re: Streaming replication document improvements Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Streaming replication document improvements Fujii Masao <masao.fujii@gmail.com>
Robert Haas  writes:
> Thanks for the heads up.  It doesn't look hard to put a similar test
> in the walsender code path, but is there any reason to duplicate the
> code?  Seems like we might be able to just put this test (with the
> necessary modification) right before this comment:

Hm, actually I think you're right: we could move both of those
connection-rejecting tests up to before the walsender exit.  The
only extra state we need is ReservedBackends, which should be valid
at that point (in particular, it can't be affected by any process-local
GUC settings).

+1 for just moving the test.

			regards, tom lane
В списке pgsql-docs по дате отправления
От: Robert Haas
Дата:
От: Robert Haas
Дата:
FAQ