Re: Question on triggers and plpgsql

From: Vivek Khera <vivek(at)khera(dot)org>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Question on triggers and plpgsql
Date: 2005-04-08 18:02:51
Message-ID: 986acdb4ff3bdac82c5e09c607bc7839@khera.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Apr 8, 2005, at 10:59 AM, Andrew Sullivan wrote:

> wakes up the mail-sender client with the NOTIFY; the NOTIFY and the
> commit to the mail-it table only happen in that case if the
> transaction commits. And since mail is async anyway, the extra few
> seconds shouldn't make any difference, right?
>

I have a lot of processing that could benefit from this type of
synchronization, except the fact that there's no Pg command to "wait
until I get a notify message". You have to constantly poll to see if
you got one, which negates a lot of the benefit of async notification
to rarely run processes.

Vivek Khera, Ph.D.
+1-301-869-4449 x806

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Scott Marlowe 2005-04-08 18:10:40 Re: getting count for a specific querry
Previous Message Jim Johannsen 2005-04-08 17:56:35 Re: Numeric and CSV under 8.0.1 ?