From 952b5dc4b93fae4f49465b87e977fc67a34b6098 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Fri, 27 May 2011 10:59:14 +0200 Subject: Use oid enum instead of Oid libpq typedef to avoid libpq-fe.h dependencies --- odb/pgsql/statement.hxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'odb/pgsql/statement.hxx') diff --git a/odb/pgsql/statement.hxx b/odb/pgsql/statement.hxx index a135643..3ed8116 100644 --- a/odb/pgsql/statement.hxx +++ b/odb/pgsql/statement.hxx @@ -18,6 +18,7 @@ #include #include #include +#include #include @@ -43,7 +44,7 @@ namespace odb statement (connection&, const std::string& name, const std::string& stmt, - const Oid* types, + const oid* types, std::size_t types_count); protected: @@ -79,7 +80,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, @@ -137,7 +138,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); @@ -178,7 +179,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, @@ -209,7 +210,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); -- cgit v1.1