Re: [ADMIN] does wal archiving block the current client

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [ADMIN] does wal archiving block the current client
Дата
Msg-id 1148396461.2646.833.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [ADMIN] does wal archiving block the current client connection?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [ADMIN] does wal archiving block the current client connection?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, 2006-05-23 at 10:53 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > This doesn't quite get to the nub of the problem: archiver is designed
> > to keep archiving files, even in the event that the postmaster explodes.
> > It will keep archiving until they're all gone. 
> 
> I think we just need a PostmasterIsAlive check in the per-file loop.

...which would mean the archiver would not outlive postmaster in the
event it crashes...which is exactly the time you want it to keep going.

Granted, that's an easy change.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: error-free disabling of individual child partition
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] does wal archiving block the current client connection?