Re: PITR Signalling the Archiver

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: PITR Signalling the Archiver
Date: 2004-05-11 20:55:26
Message-ID: 200405112055.i4BKtQh08296@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-05-11 21:00:08 Re: Module dependency on PostgeSQL version
Previous Message Simon Riggs 2004-05-11 20:51:04 PITR Signalling the Archiver