diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-01 13:52:39 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-01 13:52:39 +0100 |
commit | 55b8c97ae06dd7902d3dc47eece04890ecaf30bc (patch) | |
tree | 0b978c58516dfe1ca74c0ac12807267728b93b85 /libpqpp/pq-cursorselectcommand.h | |
parent | Add a test case for a genuine large binary object (the memmapped test binary) (diff) | |
download | libdbpp-postgresql-55b8c97ae06dd7902d3dc47eece04890ecaf30bc.tar.bz2 libdbpp-postgresql-55b8c97ae06dd7902d3dc47eece04890ecaf30bc.tar.xz libdbpp-postgresql-55b8c97ae06dd7902d3dc47eece04890ecaf30bc.zip |
Transactionless cursor selects
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.
Diffstat (limited to 'libpqpp/pq-cursorselectcommand.h')
-rw-r--r-- | libpqpp/pq-cursorselectcommand.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libpqpp/pq-cursorselectcommand.h b/libpqpp/pq-cursorselectcommand.h index 8182210..4d47229 100644 --- a/libpqpp/pq-cursorselectcommand.h +++ b/libpqpp/pq-cursorselectcommand.h @@ -22,7 +22,6 @@ namespace PQ { std::string mkdeclare() const; mutable bool executed; - mutable bool txOpened; int fTuples; std::string s_declare; std::string s_fetch; |