src/dbs/atrshmlogdb_postgres.c
int atrshmlog_free_prepared_db(atrshmlog_dbsession_t *i_db)
{
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "commit_db");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "rollback_db");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "begin_db");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "get_head_seq_db");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "insert_db_head");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "insert_db_cstring");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "insert_db_ucs2string");
  PQclear(i_db->res);

  return 0;
}
/**
 * helper: free our session cached prepared statements
 */
free our session cached prepared statements
free our session cached prepared statements
int atrshmlog_free_prepared_db(atrshmlog_dbsession_t *i_db)
{
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "commit_db");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "rollback_db");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "begin_db");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "get_head_seq_db");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "insert_db_head");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "insert_db_cstring");
  PQclear(i_db->res);
  i_db->res = PQexec(i_db->conn, "DEALLOCATE " "insert_db_ucs2string");
  PQclear(i_db->res);
  return 0;
}
int atrshmlog_free_prepared_db ( atrshmlog_dbsession_t * i_db ) { i_db -> res = PQexec ( i_db -> conn , " " " " ) ; PQclear ( i_db -> res ) ; i_db -> res = PQexec ( i_db -> conn , " " " " ) ; PQclear ( i_db -> res ) ; i_db -> res = PQexec ( i_db -> conn , " " " " ) ; PQclear ( i_db -> res ) ; i_db -> res = PQexec ( i_db -> conn , " " " " ) ; PQclear ( i_db -> res ) ; i_db -> res = PQexec ( i_db -> conn , " " " " ) ; PQclear ( i_db -> res ) ; i_db -> res = PQexec ( i_db -> conn , " " " " ) ; PQclear ( i_db -> res ) ; i_db -> res = PQexec ( i_db -> conn , " " " " ) ; PQclear ( i_db -> res ) ; return 0 ; }
helper: free our session cached prepared statements
helper : free our session cached prepared statements