Re: Sending notifications from the master to the standby - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Sending notifications from the master to the standby
Date
Msg-id CA+U5nM+1TP9MhuzGJ-nTCQWmDdrcSZBG6pA7b97EMwR1NcZymA@mail.gmail.com
Whole thread Raw
In response to Re: Sending notifications from the master to the standby  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Sending notifications from the master to the standby
List pgsql-hackers
On Wed, Jan 11, 2012 at 11:38 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

>> The obvious first use case for this is for cache invalidation.
>
> Yeah, upthread Simon pointed out that propagating notifies would be
> useful for flushing caches in applications that watch the database in a
> read-only fashion.  I grant that such a use-case is technically possible
> within the limitations of a slave server; I'm just dubious that it's a
> sufficiently attractive use-case to justify the complexity and future
> maintenance costs of the sort of designs we are talking about.  Or in
> other words: so far, cache invalidation is not the "first" use-case,
> it's the ONLY POSSIBLE use-case.  That's not useful enough.

Many people clearly do think this is useful.

I personally don't think it will be that complex. I'm willing to
review and maintain it if the patch works the way we want it to.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: log messages for archive recovery progress
Next
From: Andrew Dunstan
Date:
Subject: Re: JSON for PG 9.2