aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/statement.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-05-31 16:33:49 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-05-31 16:33:49 +0200
commit45539255f18a15c777627c5edcd90aa4dbdf08fc (patch)
treee8e42363afe66e82b78b67afd0ad11da9c1d4976 /odb/pgsql/statement.hxx
parentd6efc3aa83455bc7dfa9740ed573b0385348e16a (diff)
Correct statement
Diffstat (limited to 'odb/pgsql/statement.hxx')
-rw-r--r--odb/pgsql/statement.hxx17
1 files changed, 5 insertions, 12 deletions
diff --git a/odb/pgsql/statement.hxx b/odb/pgsql/statement.hxx
index 3ed8116..8134862 100644
--- a/odb/pgsql/statement.hxx
+++ b/odb/pgsql/statement.hxx
@@ -18,7 +18,6 @@
#include <odb/pgsql/version.hxx>
#include <odb/pgsql/binding.hxx>
#include <odb/pgsql/result-ptr.hxx>
-#include <odb/pgsql/pgsql-oid.hxx>
#include <odb/pgsql/details/export.hxx>
@@ -34,17 +33,11 @@ namespace odb
virtual
~statement () = 0;
- // @@ Check section 30.5 of manual for description of
- // how to cancel queries in progress.
- //
- // virtual void
- // cancel ();
-
protected:
statement (connection&,
const std::string& name,
const std::string& stmt,
- const oid* types,
+ const Oid* types,
std::size_t types_count);
protected:
@@ -80,7 +73,7 @@ namespace odb
select_statement (connection& conn,
const std::string& name,
const std::string& stmt,
- const oid* types,
+ const Oid* types,
std::size_t types_count,
binding& cond,
native_binding& native_cond,
@@ -138,7 +131,7 @@ namespace odb
insert_statement (connection& conn,
const std::string& name,
const std::string& stmt,
- const oid* types,
+ const Oid* types,
std::size_t types_count,
binding& data,
native_binding& native_data);
@@ -179,7 +172,7 @@ namespace odb
update_statement (connection& conn,
const std::string& name,
const std::string& stmt,
- const oid* types,
+ const Oid* types,
std::size_t types_count,
binding& cond,
native_binding& native_cond,
@@ -210,7 +203,7 @@ namespace odb
delete_statement (connection& conn,
const std::string& name,
const std::string& stmt,
- const oid* types,
+ const Oid* types,
std::size_t types_count,
binding& cond,
native_binding& native_cond);