Add method and test for using Postgres's NOTIFY statement