Important! This patch works only for PostgreSQL. Applying this patch will cause all other back end drivers unable to compile.
Please check comments TODO
in this diff file before applying this patch. All except PostgreSQL drivers are commented out in CMakefile
.
changes made:
moving PGconn* from private to public so that applications can do lower level works like this:
cppdb::postgresql::connection cppdb_pg_conn(cppdb::connection_info("CONN-STRING"));
PGconn *pg_conn=cppdb_pg_conn.pg_conn();
PQexec(pg_conn,"LISTEN notify_me_of_changes");
int sock=PQsocket(pg_conn);
This diff file comes from svn diff
applied to cppdb/trunk.
Anonymous
Sorry! This is is missing attachment of the patch file.