Closed diazod closed 8 years ago
You're passing a callback function to publish
instead of a data payload. You should publish an object for example, then use a callback via subscribe
.
Try copying/pasting the example in the readme to make sure all is working.
I will leave this issue open until I add more error handling to this, though. Thanks!
I'm running into the same thing running exactly what is in the readme example. I'm running Postgres 9.6.1.
I take that back, I was running psql 9.6.1. This error will happen if you're running postgres 9.4...
When I run this code:
I get: