aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/result-ptr.hxx
AgeCommit message (Collapse)AuthorFilesLines
2011-08-30Implement uniform handle management across all databasesBoris Kolpackov1-76/+0
Also use the auto_handle template instead of the raw handle in connection, statement, and result classes. This removes a lot of brittle "exception safety guarantee" code that we had in those classes.
2011-07-22Get rid of libpq-fe.h inclusion in public headersBoris Kolpackov1-0/+14
The problem with libpq-fe.h is that it is installed in unpredictable places on different platforms. As a result, a user that uses ODB with PostgreSQL (and who doesn't really know or care about libpq) is forced to make sure their application is able to find and include libpq-fe.h correctly. Luckily for us, we only use a handful of libpq pointers in public headers and the workaround is to forward declare them and use that instead of including libpq-fe.h (which is instead included in source files).
2011-05-24Update result_ptr to be standard and safeConstantin Michael1-3/+16
2011-05-13Add PGresult pointer wrapperConstantin Michael1-0/+49