INSERT msg.payload.object into postgres table

So a few things.....
Firstly, awsome you are doing ADSB stuff in Node-RED. I do a lot of aircraft tracking 'stuff' in Node-RED.
Secondly, whats the error you are getting? Its helpful that you show what you are doing, but you don't show the error you are getting.
Looking at your insert statement you would need to have icao values to be a 'varchar(45)' in your postgres (I use MySQL for my aircraft data, so its a little different) as you are inserting a string?

EDIT. I need " around my entire insert statement, but its done in function Node....

Second EDIT. How do you know its a 'mil' aircraft from just the icao?
Here is part of my function node before my insert node;
if (msg.payload.acList[i].Mil === true && msg.payload.acList[i].Icao.length > 0)