Re: To Signal The postmaster

From: aaliya zarrin <aaliya(dot)zarrin(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Subject: Re: To Signal The postmaster
Date: 2010-12-08 05:12:25
Message-ID: AANLkTikom-3Ypc5FsukRqsWxOYZM72_ZfObK07pr9_8Y@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)fujii(at)gmail(dot)com> wrote:

> On Tue, Dec 7, 2010 at 4:22 PM, aaliya zarrin <aaliya(dot)zarrin(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2010-12-08 06:02:37 Re: Final(?) proposal for wal_sync_method changes
Previous Message Joachim Wieland 2010-12-08 04:38:02 Re: directory archive format for pg_dump