Re: Building a notification system.

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Building a notification system.
Дата
Msg-id CAKFQuwa2gQeTYxBgcMmvdV=76LPL=gZ7xsGJv2qqe5uimbaMwQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Building a notification system.  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: Building a notification system.
Список pgsql-general
On Sunday, July 15, 2018, David G. Johnston <david.g.johnston@gmail.com> wrote:
On Sunday, July 15, 2018, Anto Aravinth <anto.aravinth.cse@gmail.com> wrote:

I'm not sure, how to get started with this. Read about NOTIFY: https://www.postgresql.org/docs/current/static/sql-notify.html


Not sure that fits my use case, thanks for your help in this.


It doesn't.  You need to record time stamps for the relevant events and use them to decide what is new and what is old.

Or, to avoid time skew issues, an equivalent protocol using serial (big)integers (see create sequence)

David J.
 

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Building a notification system.
Следующее
От: Anto Aravinth
Дата:
Сообщение: Re: Building a notification system.