Re: Latches, signals, and waiting
Fujii Masao <masao.fujii@gmail.com>
From: Fujii Masao <masao.fujii@gmail.com>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2010-09-16T05:05:06Z
Lists: pgsql-hackers
Attachments
- pg_trigger_failover_v2.patch (application/octet-stream) patch v2
On Thu, Sep 16, 2010 at 1:23 PM, Fujii Masao <masao.fujii@gmail.com> wrote: >> Fujii-san suggested that we might have a user-defined function for >> triggering failover as well. > > The attached patch introduces such a user-defined function. This is > useful especially when clusterware like pgpool-II is located in remote > server since it can trigger failover without using something like ssh. I forgot to check if the caller of that function has superuser permission. Here is the updated version. Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center