How to execute a random postgresql-query ? With random i mean execute any string as known by postgresql.
void myexecutefunction(string string_to_execute){ // Some code to Execute postgre-sq-string } ... void main(){ myexecutefunction("CREATE DATABASE test"); myexecutefunction("CREATE USER test"); ... myexecutefunction("SELECT * FROM testtable"); }