Author

Topic: Need some help with PSQL (Read 862 times)

sr. member
Activity: 322
Merit: 250
November 02, 2012, 11:31:27 AM
#1
'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.

Code:
('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'))")

Jump to: