'I need to setup a PSQL database table but this really a new thing for me.
The command is from a program that tries to communicate with PSQL.
('statement', "insert into shares (rem_host, username, our_result, upstream_result, reason, solution) values ({Q(remoteHost)}, {username}, {YN(not(rejectReason))}, {YN(upstreamResult)}, {rejectReason}, decode({solution}, 'hex'))")