summaryrefslogtreecommitdiff
path: root/libpqpp/connection.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2012-03-20 01:24:43 +0000
committerrandomdan <randomdan@localhost>2012-03-20 01:24:43 +0000
commit27603486be2576b1b1311d85719d109ed59cd224 (patch)
tree4b097d215d7b7e12661659226d4c48216e63de37 /libpqpp/connection.h
parentFix double free on cursor error (diff)
downloadlibdbpp-postgresql-27603486be2576b1b1311d85719d109ed59cd224.tar.bz2
libdbpp-postgresql-27603486be2576b1b1311d85719d109ed59cd224.tar.xz
libdbpp-postgresql-27603486be2576b1b1311d85719d109ed59cd224.zip
A stream interface, an RDBMS bulk load interface, a decompression layer, an implementation of CURL streams and a sqlbulkload task.
Diffstat (limited to 'libpqpp/connection.h')
-rw-r--r--libpqpp/connection.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpqpp/connection.h b/libpqpp/connection.h
index d4cf60a..59c5858 100644
--- a/libpqpp/connection.h
+++ b/libpqpp/connection.h
@@ -22,6 +22,10 @@ namespace PQ {
DB::SelectCommand * newSelectCommand(const std::string & sql) const;
DB::ModifyCommand * newModifyCommand(const std::string & sql) const;
+ void beginBulkUpload(const char *, const char *) const;
+ void endBulkUpload(const char *) const;
+ size_t bulkUploadData(const char *, size_t) const;
+
PGresult * checkResult(PGresult * res, int expected, int alternative = -1) const;
void checkResultFree(PGresult * res, int expected, int alternative = -1) const;