سؤال

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