문제

If I send notifications before starting to listen i.e.

notify test, 'test message';
listen test;

I loose that notifications. How can I persist them for later fetching? Actually, I need this notifications for tables updates, so it is preferably not to start spezialized messaging system like RMQ etc.

도움이 되었습니까?

해결책

You can't replay them. If no one is listening, they're gone. Start up your own communication daemon to catch them. Then you can do whatever you want.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top