summaryrefslogtreecommitdiff
path: root/libpqpp/pq-mock.cpp
Commit message (Collapse)AuthorAge
* Clang formatDan Goodliffe2020-11-18
|
* Pipe arguments into command with xargsDan Goodliffe2019-05-10
| | | | Prevents broken pipe error
* Create hasUnloggedTables, like hasCopyToProgramDan Goodliffe2019-05-09
|
* Create mock databases in a temporary directoryDan Goodliffe2019-05-09
| | | | | | | Requires v9.3 server for COPY ... TO PROGRAM ... support, which is used to get the server to create a directory with suitable permissions. This directory is created in the system temporary directory and used as the default tablespace for the mock database.
* Get server version into a const local on constructionDan Goodliffe2019-05-09
|
* Enable hicpp checks and fix accordinglyDan Goodliffe2019-02-17
|
* Basic clang tidy fixesDan Goodliffe2019-02-16
|
* Remove boost::filesystem in favour of std::filesystemDan Goodliffe2019-02-03
|
* Switch to structured binding interfacelibdbpp-postgresql-1.3.0Dan Goodliffe2018-08-22
|
* C++17Dan Goodliffe2018-04-09
| | | | | Updates code largely in-keeping with updates to be C++17 in line with libadhocutil and libdbpp.
* 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
|
* Force mock DB names to lower caseDan 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
* PostgreSQL files prefixed with pq-Dan Goodliffe2015-12-24