# Postgrestor bug - multiple databases

**URL:** https://discourse.nodered.org/t/postgrestor-bug-multiple-databases/42470
**Category:** General
**Created:** [11 March 2021 10:24 UTC](https://discourse.nodered.org/t/postgrestor-bug-multiple-databases/42470 "2021-03-11T10:24:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Damorck](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/damorck/32/20596_2.png) [@Damorck](https://discourse.nodered.org/u/Damorck)
#### Post date: [11 March 2021 10:24 UTC](https://discourse.nodered.org/t/postgrestor-bug-multiple-databases/42470/1 "2021-03-11T10:24:51Z")

</div>

Hi all

[This](https://github.com/HySoaKa/node-red-contrib-postgrestor/issues/7) issue I can produce in my setup. Working with postgresql, this node is the best IMO. Has anyone found a fix/workaround this bug?

My approach would be to create a new NodeRED instance so I can "spread" my flows, avoiding the error, but isn´t a fix. I´ve discovered, when copy/pasting the flow to a new flow, the issue (as it is now) don´t occur.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [11 March 2021 16:41 UTC](https://discourse.nodered.org/t/postgrestor-bug-multiple-databases/42470/2 "2021-03-11T16:41:18Z")

</div>

Did you see someone posted a patch?

[See this post](https://github.com/HySoaKa/node-red-contrib-postgrestor/issues/7#issuecomment-498704868)

Replace your local js file with the contents of this one, restart node-red, give it a go.

Ps, looks like the author might have abandoned this node - that issue is from 2019.

---

<div class="post-metadata">

### Author: ![Damorck](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/damorck/32/20596_2.png) [@Damorck](https://discourse.nodered.org/u/Damorck)
#### Post date: [16 March 2021 07:15 UTC](https://discourse.nodered.org/t/postgrestor-bug-multiple-databases/42470/3 "2021-03-16T07:15:37Z")

</div>

I missed it on the the Github post and have tested it with no errors so far. Thx.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [30 March 2021 07:15 UTC](https://discourse.nodered.org/t/postgrestor-bug-multiple-databases/42470/4 "2021-03-30T07:15:52Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
