Re: Listen / Notify rewrite

From: Andrew Chernow <ac(at)esilo(dot)com>
To: "A(dot)M(dot)" <agentm(at)themactionfaction(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Listen / Notify rewrite
Date: 2009-11-12 03:33:57
Message-ID: 4AFB8225.1020801@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>
> I thought of a compromise: add the number of times a notification was
> generated (coalesced count+1) to the callback data. That would satisfy
> any backwards compatibility concerns and my use case too!
>

If you are suggesting that the server poke data into the notifier's opaque
payload, I vote no. Maybe the NOTIFY command can include a switch to enable
this behavior. No syntax suggestions at this point.

--
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-11-12 03:43:06 Re: Listen / Notify rewrite
Previous Message Emmanuel Cecchet 2009-11-12 03:30:55 Re: Patch committers