Re: Autovacuum loose ends

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Autovacuum loose ends
Дата
Msg-id 27741.1121368029@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Autovacuum loose ends  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Thanks, and again sorry for the bugs.  The code for shutting the whole
> thing down was not easy for me to understand -- I think it should be
> better documented.  I can send a src/backend/postmaster/README file if
> you think it's worth it; I'd document how to create processes, how to
> handle shutdown, and how does the signalling mechanism work.  (It took
> me at least an hour to figure the signal handling out, and as you see I
> still had gross misunderstadings.)

You can if you want, but I don't think that that will ever be
cookie-cutter stuff --- each specialized subjob we've added to date has
had slightly different requirements, and I'd expect the same if we add
more in future.  You have to think about whether they need to connect to
shared memory, whether they can run transactions, which signals they
need to receive, what the postmaster's response should be to either a
normal or non-normal child exit, what the startup and shutdown order
should be, etc.  All of these questions are interrelated ...
        regards, tom lane


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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: Autovacuum loose ends
Следующее
От: Greg Stark
Дата:
Сообщение: Re: [Bizgres-general] A Guide to Constraint Exclusion