aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/statement.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-11-25Implement bulk database operation support for Oracle and SQL ServerBoris Kolpackov1-11/+3
2013-09-03Handling of dynamic empty statements as result of versioningBoris Kolpackov1-0/+11
2013-08-30Statement processing/optimization base workBoris Kolpackov1-1/+27
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-11-29Namespace management for static multi-database supportBoris Kolpackov1-1/+1
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
2012-10-12Completion of prepared query supportBoris Kolpackov1-15/+24
2012-03-07Use RAII to free select statement resultsBoris Kolpackov1-0/+13
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-11-09Avoid copying statement text if it is statically allocatedBoris Kolpackov1-11/+70
2011-11-07Add support for SQL statement tracingBoris Kolpackov1-3/+14
2011-11-01Implement support for optimistic concurrencyBoris Kolpackov1-1/+1
New pragmas: optimistic, version. New test: optimistic. New database function: reload().
2011-10-30Rework statement interfaces wrt param/result passingBoris Kolpackov1-32/+23
2011-10-28Implement returning of auto id using RETURNING clause in PostgreSQLBoris Kolpackov1-3/+7
Before we used a separate SELECT lastval() query which was both inefficient and error-prone in cases where INSERT may cause triggers to override the last value.
2011-09-06Allow select statement without parametersBoris Kolpackov1-1/+6
2011-08-30Implement uniform handle management across all databasesBoris Kolpackov1-2/+3
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-22Add support for constructing delete_statement with native binding onlyBoris Kolpackov1-1/+8
This is similar to what we do in select_statement.
2011-07-22Get rid of libpq-fe.h inclusion in public headersBoris Kolpackov1-4/+2
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-05Aesthetic changesConstantin Michael1-6/+1
2011-07-05Implement PostgreSQL specific fetch operations for select_statementConstantin Michael1-11/+41
2011-07-04Add additional functionality required by query implementationConstantin Michael1-0/+17
2011-06-24Move insert_statement lastval query from execute() to id()Constantin Michael1-4/+2
2011-05-31Correct statementConstantin Michael1-12/+5
2011-05-27Use oid enum instead of Oid libpq typedef to avoid libpq-fe.h dependenciesConstantin Michael1-5/+6
2011-05-26Correct statementConstantin Michael1-0/+1
2011-05-25Aesthetic changes and small refactoringsConstantin Michael1-2/+1
2011-05-24Update insert_statement to use lastval() to get last insert idConstantin Michael1-2/+5
2011-05-24Add select_statement and binding adapters. Correct version usageConstantin Michael1-8/+103
2011-05-19Aesthetic changes and small corrections/re-factoringsConstantin Michael1-8/+4
2011-05-19Add update_statementConstantin Michael1-0/+29
2011-05-19Add statement, insert_statement, and delete_statementConstantin Michael1-0/+110