# Postgres+Listen/Notify

**URL:** <https://discourse.nodered.org/t/postgres-listen-notify/10269>\
**Category:** General\
**Created:** [17 April 2019 03:20 UTC](https://discourse.nodered.org/t/postgres-listen-notify/10269 "2019-04-17T03:20:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cfb](https://avatars.discourse-cdn.com/v4/letter/c/eada6e/32.png) [@cfb](https://discourse.nodered.org/u/cfb)\
**Post date:** [17 April 2019 03:20 UTC](https://discourse.nodered.org/t/postgres-listen-notify/10269/1 "2019-04-17T03:20:32Z")

</div>

Hi,  
i've seen that node-red-contrib-postgres as been deprecated and not available for node-red v0.20,  
this also disable the node-red-contrib-postgres-listen node.

Any way to enable these? or substitutes?  
Someone are planning to implement the listen/notify with node-red-contrib-postgres-variable or node-red-contrib-postgres-multi?

i've tested node-red-contrib-postgres-variable and node-red-contrib-postgres-multi, both can work with queries, but not work with the postgres LISTEN/NOTIFY feature.

What is needed to do in node-red-contrib-postgres to "un-deprecate" ?

Thanks

---

<div class="post-metadata">

**Author:** ![cfb](https://avatars.discourse-cdn.com/v4/letter/c/eada6e/32.png) [@cfb](https://discourse.nodered.org/u/cfb)\
**Post date:** [17 April 2019 04:42 UTC](https://discourse.nodered.org/t/postgres-listen-notify/10269/2 "2019-04-17T04:42:53Z")

</div>

As workaround:  
guided by another post o this forum, i've replaced postgres.js code from npm by code provided at github:  
[https://github.com/navbruce/node-red-contrib-postgres/blob/master/node-red-contrib-postgres/postgres.js](https://github.com/navbruce/node-red-contrib-postgres/blob/master/node-red-contrib-postgres/postgres.js)

and disabled line 58 in pglisten.js.

Now it is working. 😃
