aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/connection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/connection.hxx')
-rw-r--r--odb/pgsql/connection.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/odb/pgsql/connection.hxx b/odb/pgsql/connection.hxx
index 6764794..5e24749 100644
--- a/odb/pgsql/connection.hxx
+++ b/odb/pgsql/connection.hxx
@@ -59,14 +59,20 @@ namespace odb
return *statement_cache_;
}
+ bool
+ integer_datetimes () const
+ {
+ return integer_datetimes_;
+ }
+
private:
connection (const connection&);
connection& operator= (const connection&);
private:
database_type& db_;
-
PGconn* handle_;
+ bool integer_datetimes_;
std::auto_ptr<statement_cache_type> statement_cache_;
};