N
Neon2mo ago
other-emerald

Listen/Notify not working on NEON

I am trying to listen for a notification from Postgres. I followed this tutorial: https://neon.com/guides/pg-notify, but it does not work on Neon. It worked on my local Postgres server, though. What am I doing wrong? This is the code: https://github.com/LeeJunNakao/neon_notify_example
GitHub
GitHub - LeeJunNakao/neon_notify_example
Contribute to LeeJunNakao/neon_notify_example development by creating an account on GitHub.
2 Replies
inland-turquoise
inland-turquoise2mo ago
Are you using the pooled connection string? If so, try the unpooled
metropolitan-bronze
metropolitan-bronze2mo ago
I changed to the unpooled connection which solved it

Did you find this page helpful?