Re: PITR Signalling the Archiver

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PITR Signalling the Archiver
Дата
Msg-id 200405112055.i4BKtQh08296@candle.pha.pa.us
обсуждение исходный текст
Ответ на PITR Signalling the Archiver  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs wrote:
> A few questions may help to speed up my work
> 
> I need to send a signal from a backend to the archiver process.
> 
> 1. What signal should I use? 

You can use any unused signal.  I would suggest looking at what the
stats processes uses, and use something else like SIGUSR1.

> 2. How do I give the processid of the archiver to the backend? The
> archiver may restart at any time, so its pid could change after a
> backend is forked.

I was thinking of having it be in shared memory.  I am going to work on
that part, but I need to finish the relocatable install stuff for Win32
first.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: PITR Signalling the Archiver
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Module dependency on PostgeSQL version