My question is, do I also need to do htonl then, as in this scenario? outStr[0]="blah"; outLengths[0]=htonl((int)strlen("blah")); formats[0]=1; PQexecParams(pgConn, query,1,0,outStr,outLengths,formats,1);
My question is, do I also need to do htonl then, as in this scenario? outStr[0]="blah"; outLengths[0]=htonl((int)strlen("blah")); formats[0]=1; PQexecParams(pgConn, query,1,0,outStr,outLengths,formats,1);