diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-07-14 10:15:03 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-07-14 23:01:49 +0200 |
commit | 9fb98837b7661aa034e68b2cc9bbf869a9a6ba6b (patch) | |
tree | 1b995d16ca0a852498aa58e031ac239185a48da7 /odb/pgsql/connection.hxx | |
parent | debdd3fa1bcf3c003636476484064ef919bc4d62 (diff) |
Forbid connection to database if server integer_datetimes is off
Diffstat (limited to 'odb/pgsql/connection.hxx')
-rw-r--r-- | odb/pgsql/connection.hxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/odb/pgsql/connection.hxx b/odb/pgsql/connection.hxx index 5e24749..4793248 100644 --- a/odb/pgsql/connection.hxx +++ b/odb/pgsql/connection.hxx @@ -59,12 +59,6 @@ namespace odb return *statement_cache_; } - bool - integer_datetimes () const - { - return integer_datetimes_; - } - private: connection (const connection&); connection& operator= (const connection&); @@ -72,7 +66,6 @@ namespace odb private: database_type& db_; PGconn* handle_; - bool integer_datetimes_; std::auto_ptr<statement_cache_type> statement_cache_; }; |