Regarding NOTIFY - Mailing list pgsql-general

From Bret Stern
Subject Regarding NOTIFY
Date
Msg-id 1331312006.2133.10.camel@fedora13
Whole thread Raw
Responses Re: Regarding NOTIFY  (Chris Travers <chris.travers@gmail.com>)
Re: Regarding NOTIFY  (Kiriakos Georgiou <kg.postgresql@olympiakos.com>)
List pgsql-general
We have a concrete batching application composed of two parts.
1. The Monitor.
The Monitor cycles every 60 seconds, and looks into a Postgresql table
for jobs to run. Primarily these jobs update Postgresql tables with
data from external applications.

2. The Client.
The client schedules orders etc.

When a new product or customer is added to the Accounting or Batching
Controller (both external applications; and databases) the Client user
clicks a button and adds a job to run on the Monitor.

Is it possible use the NOTIFY event to serve more like an interrupt,
and trigger the Monitor to run immediately.

Can it be used with VB?
or
Should I use LibPQ?

Any suggestions welcome.


If this is the wrong list for these questions, let me know?

Bret Stern







pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: autovacuum and transaction id wraparound
Next
From: Merlin Moncure
Date:
Subject: Re: Call for Google Summer of Code (GSoC) 2012: Project ideas?