From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
---|---|
To: | Andre Lopes <lopes80andre(at)gmail(dot)com> |
Cc: | postgresql Forums <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: How to get a signal from the database when a INSERT INTO is done? |
Date: | 2012-02-28 11:16:19 |
Message-ID: | 20120228111619.GA17704@depesz.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Feb 28, 2012 at 11:07:47AM +0000, Andre Lopes wrote:
> Hi all,
>
> I'm designing an application in Python and using PostgreSQL.
>
> This is a mixed question Python/PostgreSQL... I need to get a signal
> in my python application when a new insert is done. How can this be
> done, any clues?
listen/notify
http://www.postgresql.org/docs/current/interactive/sql-listen.html
http://www.postgresql.org/docs/current/interactive/sql-notify.html
Best regards,
depesz
--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Clodoaldo Neto | 2012-02-28 13:33:49 | Error installing postgresq91-python package |
Previous Message | Andre Lopes | 2012-02-28 11:07:47 | How to get a signal from the database when a INSERT INTO is done? |