blob: a354adc01bc8a102d4511bf9b847b0f5f3096f38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
pgnotify is a PostgreSQL client-side asynchronous notification handler for
Python and PyGreSQL.
Typically, asynchronous notification is used to communicate the message "I
changed this table, take a look at it to see what's new" from one PostgreSQL
client to other interested PostgreSQL clients.
A useful programming technique is to generate asynchronous notification in a
rule that is triggered by table updates; this way, notification happens
automatically when the table is changed and the application programmer can't
accidentally forget to do it.
At present, pgnotify works with PyGreSQL only. It should work with PoPy and
psycopg when those modules provide Pythonic interfaces to additional necessary
PostgreSQL client-side functions, as described in the README.
|