PostgreSQL node Queue value

Hello guys, how to access value of Queue of postgres node?

Or maybe a better question, how to batch import the data into postgres in nodered (array of objects) ?


Have you tried the status node, it may pick it up.

Thanks for advice,
I solved the problem via going into:

Open file postgresql.js
and before the line

I added:
msg.queue = nbQueue;

Now every postgresSQL gives desired info in msg.queue.

Or, instead of hacking the code (which you will lose if the node is ever updated), you could use a status node (like @E1cid suggested)?

Better still, you could raise a pull request against the repository so that everyone benefits?

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