Hello. I'm a beginner with Node-Red, I try to insert bollean data to PostgreSQL.
For example, I have 4 boolean variables and I need insert this to PostgreSQL table.
Each message which arrives at a node is manipulated by the node without any knowledge of previous messages. (There are some exceptions but I don't think the Postgres node is one.)
Each one of the outputs from your "Word to bits" node is a discrete message.
They are each modified by a change node and then they arrive at the "Corp_36 Status" node seperately.
But you are expecting "Corp_36 Status" to handle 4 messages as if they were one.
This is not the way it works. Instead it produces 4 SQL statements something like
What you can do is:
In your change nodes, set a different msg.topic for each message.
Then use a join node (in Manual mode) to join them into a single message.
Put a debug node after the join so you can see the structure of the newly joined message.