Re: WAL Info messages
От | Greg Stark |
---|---|
Тема | Re: WAL Info messages |
Дата | |
Msg-id | 407d949e0912132113l2ebac358xec66c7e06802043a@mail.gmail.com обсуждение исходный текст |
Ответ на | WAL Info messages (Simon Riggs <simon@2ndQuadrant.com>) |
Ответы |
Re: WAL Info messages
|
Список | 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 по дате отправления: