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

Multiples databases connections error #7

Open Oneil974 opened 6 years ago

Oneil974 commented 6 years ago

Hi,

When I'm using multiple postgres connections(settings) in the same node-red app, only one still working.

If I create another connection the first don't work anymore.

It looks like even if I'm slecting the good database for each node they are using the same connection.

I'm currently using node-red container docker over linux.

I'm using the 0.0.2 postgrestor because de 0.0.4RC does not work, it make me an error saying there are no postgresDB an postgrestor node find.

Is there any way to make it work?

Thanks

Oneil974 commented 6 years ago

After a lot of tests, problem only occure into linux version...

bdbuysse commented 5 years ago

Is this repo still being maintained? It’d be nice to know why this is a constraint and if there is a fix.

micheleferrari01 commented 5 years ago

We had the same problem. Attached you can find the patched source code postgrestor.js.txt

Damorck commented 3 years ago

I´m having the same issue. @Oneil974 did you get any further on finding a fix for this?