summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Replace ifndef/define/endif with pragma onceHEADmainDan Goodliffe2023-10-09
|
* Avoid repeated calls to PQunescapeByteaDan Goodliffe2023-10-09
| | | | | Fixes issue where accessing the blob value of a column multiple times would free previously unescaped buffers resulting in dangling pointers.
* Explicit instantiation of checkResultDan Goodliffe2023-10-09
| | | | | Fixes issue where otherwise they could be optimised away whilst being required outside the current translation unit.
* Move valueAs to BinaryColumn, implement with std::byteswapDan Goodliffe2023-10-08
| | | | Removes the need to cast to/from BSD endian supported types.
* Move to C++23 (for std::byteswap)Dan Goodliffe2023-10-08
|
* Avoid do/while loopDan Goodliffe2023-10-08
|
* Fix the trivial clang-tidy warningsDan Goodliffe2023-10-08
|
* Simplify checkResultDan Goodliffe2023-10-08
| | | | | Becomes template for however many acceptable status there are and tests as a fold expression.
* Use unique_ptr for execution resultsDan Goodliffe2023-10-08
|
* Fix virtual/override attribute useDan Goodliffe2023-10-08
|
* Make pq_deleter a generic helperDan Goodliffe2023-10-08
|
* Use unique_ptr for handling unescaped bytea column bufferDan Goodliffe2023-10-08
|
* Anonymous namespace over staticDan Goodliffe2023-10-08
|
* Reformat with new clang-formatDan Goodliffe2023-10-08
|
* Use proper defines for column typesDan Goodliffe2023-10-08
|
* Don't use &vector.front() for vector which might be emptylibdbpp-postgresql-1.4.9Dan Goodliffe2023-04-21
| | | | Instead just use .data() which safely returns something which might be nullptr, but that's fine.
* Suppress false warninglibdbpp-postgresql-1.4.8Dan Goodliffe2022-07-27
|
* Add missing includeDan Goodliffe2022-03-19
|
* Use stringstream string c_str by moveDan Goodliffe2022-03-19
|
* Lots of pass by value and perfect forwarding optimisationsDan Goodliffe2022-03-17
|
* enum class BulkUpdateslibdbpp-postgresql-1.4.7Dan Goodliffe2022-02-14
|
* Bump to C++20 for non-legacy CTFDan Goodliffe2022-02-11
|
* Fix up warnings from latest clang-tidyDan Goodliffe2021-10-17
|
* Tidy up IWYUlibdbpp-postgresql-1.4.6Dan Goodliffe2021-09-21
|
* First commit passing IWYUDan Goodliffe2021-09-21
|
* Pass cppcheck and clang-tidyDan Goodliffe2021-09-18
|
* Add JT recommended warningsDan Goodliffe2021-09-18
|
* Modern jam ltolibdbpp-postgresql-1.4.5Dan Goodliffe2020-12-10
|
* Loop based bulkUpload functionsDan Goodliffe2020-12-10
| | | | not recursive.
* Move suppression commentDan Goodliffe2020-12-10
| | | | Side effect of clang-format?
* Add override tagDan Goodliffe2020-12-10
|
* Clang formatDan Goodliffe2020-11-18
|
* Fixes for tidylibdbpp-postgresql-1.4.4Dan Goodliffe2020-03-28
|
* Fixes for tidylibdbpp-postgresql-1.4.3Dan Goodliffe2019-10-19
|
* Refactor to ease testingDan Goodliffe2019-10-19
|
* Modernize buildDan Goodliffe2019-10-13
|
* Get glibmm and libpq flags from pkg-configlibdbpp-postgresql-1.4.2Dan Goodliffe2019-06-30
|
* 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
|
* Tidy fixes for latest clanglibdbpp-postgresql-1.4.1Dan Goodliffe2019-03-30
|
* More clang-tidy fixesDan Goodliffe2019-03-03
|
* Tidy link of libpqDan Goodliffe2019-02-24
|
* Enable hicpp checks and fix accordinglyDan Goodliffe2019-02-17
|
* Modernize clang tidy fixesDan Goodliffe2019-02-16
|
* More clang tidy fixesDan Goodliffe2019-02-16
|
* Basic clang tidy fixesDan Goodliffe2019-02-16
|
* Fix ustring to string_view conversion with multi-byte charslibdbpp-postgresql-1.4.0Dan Goodliffe2019-02-07
|
* Pass new columns from make_uniqueDan Goodliffe2019-02-04
|