pgtap
pgtap copied to clipboard
Testing listen/notify functionality
Hello, I have a question - is it possible to use pgtap for asynchronous events posted by pg_notify? I have a case where I would like to confirm trigger result which is an event, not a full blown database object.
If you trigger the event from within pgTAP, the only way I know of to use it to LISTEN for such events is to use dblink within the test to LISTEN.