From d6e8b1c5a787641dc63fc50c9b35cc7427a33b65 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 4 Jan 2017 17:54:29 +0000 Subject: Add PQ specific command options to control page size and the use of bulk -v- cursor selects --- libpqpp/pq-command.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libpqpp/pq-command.cpp') diff --git a/libpqpp/pq-command.cpp b/libpqpp/pq-command.cpp index af203cc..a6259df 100644 --- a/libpqpp/pq-command.cpp +++ b/libpqpp/pq-command.cpp @@ -25,6 +25,15 @@ PQ::Command::~Command() } } +PQ::CommandOptions::CommandOptions(std::size_t hash, + unsigned int ft, + bool uc) : + DB::CommandOptions(hash), + fetchTuples(ft), + useCursor(uc) +{ +} + AdHocFormatter(PQCommandParamName, "$%?"); void PQ::Command::prepareSql(std::stringstream & psql, const std::string & sql) const -- cgit v1.2.3