Re: [HACKERS] PITR Signalling the Archiver

2004-05-11 Thread Simon Riggs
On Tue, 2004-05-11 at 22:15, Tom Lane wrote: > Simon Riggs <[EMAIL PROTECTED]> writes: > > I need to send a signal from a backend to the archiver process. > > > 1. What signal should I use? > > SIGUSR1 or SIGUSR2 would be the safest choices. > > > 2. How do I give the processid of the archiver

Re: [HACKERS] PITR Signalling the Archiver

2004-05-11 Thread Tom Lane
Simon Riggs <[EMAIL PROTECTED]> writes: > I need to send a signal from a backend to the archiver process. > 1. What signal should I use? SIGUSR1 or SIGUSR2 would be the safest choices. > 2. How do I give the processid of the archiver to the backend? The > archiver may restart at any time, so it

Re: [HACKERS] PITR Signalling the Archiver

2004-05-11 Thread Bruce Momjian
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.

[HACKERS] PITR Signalling the Archiver

2004-05-11 Thread Simon Riggs
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? 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 ha