Re: user get notification when postgresql database updated

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: user get notification when postgresql database updated
Дата
Msg-id 5A29D956-B402-4871-BE48-87417AB0BCC9@gmail.com
обсуждение исходный текст
Ответ на Re: user get notification when postgresql database updated  (Albert <oo_O2_oo@hotmail.com>)
Список pgsql-general
On 29 Mar 2012, at 11:43, Albert wrote:

> it a browser based application. so would you advice me about the best way to
> poll the database for notifications ?
>
> I've been read about DB triggers but still can't tell if it will help me.


The HTTP protocol doesn't have a push mechanism, so you can't notify your browser-based application from your server.
Youwill have to poll. 

Googling for "ajax push" turned up this explanation: http://www.subbu.org/blog/2006/04/dissecting-ajax-server-push

Alban Hertroys

--
The scale of a problem often equals the size of an ego.



В списке pgsql-general по дате отправления:

Предыдущее
От: Alban Hertroys
Дата:
Сообщение: Re: default value returned from sql stmt
Следующее
От: Hendrik Visage
Дата:
Сообщение: Adding new and changed data