Re: PITR Signalling the Archiver - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: PITR Signalling the Archiver
Date
Msg-id 200405112055.i4BKtQh08296@candle.pha.pa.us
Whole thread Raw
In response to PITR Signalling the Archiver  (Simon Riggs <simon@2ndquadrant.com>)
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: PITR Signalling the Archiver
Next
From: Tom Lane
Date:
Subject: Re: Module dependency on PostgeSQL version