HySoaKa / node-red-contrib-postgrestor

Yet another Node-RED node to query PostgreSQL
GNU Affero General Public License v3.0
10 stars 17 forks source link

Not working on node 14 #16

Open daniel-payne opened 4 years ago

daniel-payne commented 4 years ago

I am able to run a simple flow "Select 1" on node 12, but if i run node red in a node 14 the module does not return any data or errors. I think i have tracked it down to line 66, let client = yield pgPool.connect() I have pool connect running ok in other node 14 apps, I think it might be something to do with the co( and yield But I am not familiar with co enough to suggest a solution

KRAUS1203 commented 3 years ago

@daniel-payne were you able to find a different package to connect with postgres on node 14? i am having the same issue.