aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/connection.hxx
AgeCommit message (Collapse)AuthorFilesLines
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-12-01Detect and mark connection as failedBoris Kolpackov1-0/+14
2011-11-17Remove unnecessary forward declarationBoris Kolpackov1-1/+0
2011-11-17Remove unnecessary includesBoris Kolpackov1-1/+0
2011-11-07Add support for SQL statement tracingBoris Kolpackov1-0/+20
2011-08-30Add comment with some explanationsBoris Kolpackov1-0/+4
2011-08-30Implement uniform handle management across all databasesBoris Kolpackov1-1/+5
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-08-28Add support for creating connection from existing handleBoris Kolpackov1-0/+5
This will allow for custom connection establishment and configuration.
2011-08-22Remove stray function declarationsBoris Kolpackov1-6/+0
2011-08-21Add odb::connection classBoris Kolpackov1-1/+22
This abstract class represents a connection to the database. One can use it to start a transaction or to execute a native statement out of a transaction. Before we had concrete connection classes in the database runtime libraries (e.g., odb::mysql::connection). Now these classes derive from odb::connection.
2011-07-22Get rid of libpq-fe.h inclusion in public headersBoris Kolpackov1-2/+1
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-07-14Forbid connection to database if server integer_datetimes is offConstantin Michael1-7/+0
2011-07-13Get integer_datetimes server var on connection to serverConstantin Michael1-1/+7
2011-05-27Add statement-cache and enable relevant functionality in connectionConstantin Michael1-50/+7
2011-05-11Add connection and connection factory implementationsConstantin Michael1-0/+121