Re: Can a database notify all clients when something changes?

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Satan Devil <very709394bad(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can a database notify all clients when something changes?
Date: 2004-12-16 00:26:49
Message-ID: 20041216002649.GB8438@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Dec 15, 2004 at 03:37:05PM -0800, Satan Devil wrote:
> Can a database notify all clients when something
> changes and send the changes to the clients?

Sure. Use LISTEN and NOTIFY.

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
Al principio era UNIX, y UNIX habló y dijo: "Hello world\n".
No dijo "Hello New Jersey\n", ni "Hello USA\n".

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul Tillotson 2004-12-16 00:54:57 Re: Performance suggestions?
Previous Message Mickael Remond 2004-12-15 23:59:24 Insert do not work in my case