summaryrefslogtreecommitdiff
path: root/test/test-postgresql.cpp
Commit message (Collapse)AuthorAge
* Support creating a PostgreSQL mock DB and filling it with a schema scriptDan Goodliffe2021-06-13
|
* Create and drop PostgreSQL mock DBs as neededDan Goodliffe2021-06-13
|
* Avoid direct use of runtime_error in PostgreSQL stuffDan Goodliffe2021-06-12
| | | | | Adds proper exception which extends it and gets the PostgreSQL error message.
* Determine parameter mode at point of call by DB type propertyDan Goodliffe2021-06-03
| | | | It's still constexpr, so that's all good.
* Generate DbStmt templates from .sql filesDan Goodliffe2021-06-01
| | | | | | | m4 generator and related code. Reshuffles some CTF stuff to avoid pulling in all of CTF and iostream for its fixed_string. Moves CTF out of AdHoc namespace. Add some initial SQL statements.
* Read test DB connection details from envDan Goodliffe2021-05-31
|
* Initial commit of prepstmt, selects, record setsDan Goodliffe2021-05-31
| | | | This is full of holes, but all the basics are covered.
* Basic support for queries with bound parametersDan Goodliffe2021-05-24
Bit of a reshuffle to make the types not DB specific, add some basic tests over query execution, no selects yet and no validation anything is actually right.