summaryrefslogtreecommitdiff
path: root/libpqpp
Commit message (Collapse)AuthorAge
* C++17Dan Goodliffe2018-04-09
| | | | | Updates code largely in-keeping with updates to be C++17 in line with libadhocutil and libdbpp.
* Updated compile flagsDan Goodliffe2018-04-01
|
* Transactionless cursor selectsDan Goodliffe2018-04-01
| | | | | | | | | Remove the need to open a transaction for a cursor select by specifying them as WITH HOLD. Also add NO SCROLL as it's a feature we don't actually use. Updates tests with loops to ensure we haven't broken the ability to re-use / re-create statements.
* Add a test case for a genuine large binary object (the memmapped test binary)libdbpp-postgresql-1.1.3Dan Goodliffe2017-06-05
|
* Use DB::Blob's own comparatorDan Goodliffe2017-06-05
|
* Support fetching data in binary format (no numeric, datetime, interval ↵Dan Goodliffe2017-06-05
| | | | support yet)
* Add wrappers for PQgetvalue and PQgetlength in column to simplify accessDan Goodliffe2017-06-05
|
* Add support for bytea / blob type dataDan Goodliffe2017-06-05
|
* Fix memory leak in unit testDan Goodliffe2017-06-05
|
* Relax message check as it can vary depending on server configurationDan Goodliffe2017-01-08
|
* Implement getting PQ command option settings from mapDan Goodliffe2017-01-08
|
* Add the DB command options factoryDan Goodliffe2017-01-08
|
* Minor updates/tweaks to increase test coverageDan Goodliffe2017-01-08
|
* Use SQL hash for prepared statement names, increases reuse and avoids random ↵Dan Goodliffe2017-01-08
| | | | reuse
* Fix bug where prepared statement cache wasn't cleared on connection reset ↵Dan Goodliffe2017-01-08
| | | | leading to random failure due to prepapred statements not existing
* Add PQ specific command options to control page size and the use of bulk -v- ↵Dan Goodliffe2017-01-04
| | | | cursor selects
* Use bulk select not cursor select for getId, far fewer operationsDan Goodliffe2017-01-04
|
* C++ify the SQL preparer and skip it if no variables are being boundDan Goodliffe2017-01-04
|
* Tidy clearing of PGresultsDan Goodliffe2017-01-04
|
* No need for 1 line wrappers anymoreDan Goodliffe2017-01-03
|
* Add missing delete showing false memory leakDan Goodliffe2017-01-03
|
* Refactor to remove some duplicationDan Goodliffe2017-01-03
|
* Only set unlogged for mocked tables on server versions 9.5 and aboveDan Goodliffe2017-01-03
|
* Co-variant return of PQ connection from PQ mockDan Goodliffe2017-01-03
|
* Add function for retrieving server version numberDan Goodliffe2017-01-03
|
* Add missing PQ connection specific typedefDan Goodliffe2017-01-03
|
* Add missing default value in execute overrideDan Goodliffe2017-01-03
|
* Force mock DB names to lower caseDan Goodliffe2017-01-01
|
* Use command options statement hash when it's availableDan Goodliffe2017-01-01
|
* API change to pass command options throughDan Goodliffe2017-01-01
|
* Register mock db implementationsDan Goodliffe2017-01-01
|
* Do lots more work with compile time formatter instead runtime formattersDan Goodliffe2016-12-31
|
* More complex approach to setting tables to unlogged to handle foreign key ↵Dan Goodliffe2016-12-30
| | | | dependencies between tables
* Set tables in test database to be unlogged, faster (less disk IO) and we ↵Dan Goodliffe2016-12-27
| | | | don't care about safety in tests
* Don't truncate and create random breakage with over 100 paramsDan Goodliffe2016-05-24
|
* Use prepared statements for bulk selectsDan Goodliffe2016-04-24
|
* Support bulk selects which don't use cursors, always use of RETURNINGDan Goodliffe2016-04-24
|
* Introduce select base for different kinds of selectDan Goodliffe2016-04-24
|
* Rename SelectCommand to CursorSelectCommandDan Goodliffe2016-04-24
|
* Don't attempt to close cursors when in failed transaction (it's failed and ↵Dan Goodliffe2016-04-21
| | | | result in sigabrt)
* Actually, don't prepare statement upfront during construction as it might ↵Dan Goodliffe2016-02-28
| | | | not be valid (e.g. uncreated temp tables)
* Prepare statement upfront during constructionDan Goodliffe2016-02-26
|
* Reuse prepared statementsDan Goodliffe2016-02-25
|
* Refactor to use std::string as buffer and increase test coverageDan Goodliffe2016-02-19
|
* Partially tested global visibility hidden in all projectsDan Goodliffe2016-01-24
|
* Close select tx after close cursor, add error checkingDan Goodliffe2016-01-10
|
* Only open select transactions when the connection doesn't already have oneDan Goodliffe2015-12-30
|
* Improve and centralise transaction handling logicDan Goodliffe2015-12-29
|
* Tidy upDan Goodliffe2015-12-29
|
* Add missing override attributeDan Goodliffe2015-12-29
|