rem: if(begin_transaction(_h, sql_buf)) return(-1); if (submit_query(_h, _s) < 0) { LOG(L_ERR, "db_raw_query(): Error while submitting query\n"); return -2;
add: if (!con || !query) { LOG(L_ERR, "postgres:db_raw_query: Invalid parameter value\n"); return -1;
context: int db_raw_query(db_con_t* _h, char* _s, db_res_t** _r){	int rv;	if(begin_transaction(_h, sql_buf)) return(-1);	if (submit_query(_h, _s) < 0) {		LOG(L_ERR, "db_raw_query(): Error while submitting query\n");		return -2;	}	rv = get_result(_h, _r);	free_query(_h);	commit_transaction(_h);	return(rv);}