Re: To Signal The postmaster - Mailing list pgsql-hackers

From aaliya zarrin
Subject Re: To Signal The postmaster
Date
Msg-id AANLkTikom-3Ypc5FsukRqsWxOYZM72_ZfObK07pr9_8Y@mail.gmail.com
Whole thread Raw
In response to Re: To Signal The postmaster  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: To Signal The postmaster
List pgsql-hackers
I can not used SIGHUP, as it is already in use.
I want to wake up the postmaster once the trigger file is generated
and tell it to switch over from standby mode.
Is it possible?


 
On Wed, Dec 8, 2010 at 9:17 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
On Tue, Dec 7, 2010 at 4:22 PM, aaliya zarrin <aaliya.zarrin@gmail.com> wrote:
> Is this provision already there in the code?
> There ate already SIGUSR1 and SIGUSR2 are handled in the postmaster? is it
> for the same?

SIGUSR1 is already used. SIGUSR2 is actually unused, but reserved for children
according to the source code comment.

Though I've been thinking about this topic, a good idea doesn't occur to me yet.
http://archives.postgresql.org/pgsql-hackers/2010-09/msg00929.php

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center



--
Thanks & Regards,

Aaliya Zarrin
(+91)-9160665888

pgsql-hackers by date:

Previous
From: Joachim Wieland
Date:
Subject: Re: directory archive format for pg_dump
Next
From: Greg Smith
Date:
Subject: Re: Final(?) proposal for wal_sync_method changes