From 19609c41b15a818df30508576f50fc0eddc11636 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 5 Jun 2017 18:53:22 +0100 Subject: Support fetching data in binary format (no numeric, datetime, interval support yet) --- libpqpp/pq-command.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libpqpp/pq-command.h') diff --git a/libpqpp/pq-command.h b/libpqpp/pq-command.h index 989844c..2431639 100644 --- a/libpqpp/pq-command.h +++ b/libpqpp/pq-command.h @@ -15,10 +15,12 @@ namespace PQ { CommandOptions(std::size_t, const DB::CommandOptionsMap &); CommandOptions(std::size_t hash, unsigned int fetchTuples = 35, - bool useCursor = true); + bool useCursor = true, + bool fetchBinary = false); unsigned int fetchTuples; bool useCursor; + bool fetchBinary; }; class Command : public virtual DB::Command { -- cgit v1.2.3