Re: WAL Info messages - Mailing list pgsql-hackers

From Greg Stark
Subject Re: WAL Info messages
Date
Msg-id 407d949e0912132113l2ebac358xec66c7e06802043a@mail.gmail.com
Whole thread Raw
In response to WAL Info messages  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: WAL Info messages  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sun, Dec 13, 2009 at 7:20 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> On Standby side, we would provide a plugin interface to allow the
> message to be read and handled by user-written code. This would then
> allow a simple value or notification to be passed to a waiting (polling)
> connection on standby. If new LISTEN/NOTIFY gets into 8.5 then this
> would be an obvious fit, but I have no need for message passing, just
> info passing, so no need to wait for that; something much simpler.

What happens on the slave when normal NOTIFYs are generated on the
master? IIRC NOTIFYs are wal-logged so I imagine LISTEN on the slave
would just work and a plain old NOTIFY/LISTEN would suffice for this
use case?



-- 
greg


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: Row-Level Security
Next
From: Robert Haas
Date:
Subject: Re: Row-Level Security