Re: New trigger option of pg_standby - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: New trigger option of pg_standby
Date
Msg-id 1239641183.16396.73.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: New trigger option of pg_standby  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Mon, 2009-04-13 at 14:52 +0900, Fujii Masao wrote:

> if (triggered)
> {
>     if (smartMode && nextWALfile exists)
>         exit(0)
>     else
>     {
>         delete trigger file
>         exit(1)
>     }
> }

This looks to be the correct one.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Affected rows count by rule as condtition
Next
From: mito
Date:
Subject: Re: Affected rows count by rule as condtition