diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-07-14 10:27:18 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-07-14 10:32:25 +0200 |
commit | abd136caee7de39b6b6a5e38c48febc50a25dd1f (patch) | |
tree | 68af3df290df297b9365d30ce06585385db2ac37 /mapping/traits-pgsql.cxx | |
parent | c4958231d9399091b4f4a7e4c45c24ce6beb3ae8 (diff) |
Inline PostgreSQL traits implementation and remove cxx file
Diffstat (limited to 'mapping/traits-pgsql.cxx')
-rw-r--r-- | mapping/traits-pgsql.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/mapping/traits-pgsql.cxx b/mapping/traits-pgsql.cxx deleted file mode 100644 index 026e15f..0000000 --- a/mapping/traits-pgsql.cxx +++ /dev/null @@ -1,19 +0,0 @@ -// file : mapping/traits-pgsql.cxx -// author : Constantin Michael <constantin@codesynthesis.com> -// copyright : not copyrighted - public domain - -#include "traits-pgsql.hxx" - -namespace odb -{ - namespace pgsql - { - namespace - { - tm pg_epoch_tm = {0, 0, 0, 1, 1, 100, 0, 0, 0, 0, 0}; - } - - const time_t value_traits<date, id_date>::pg_epoch_tt ( - mktime (&pg_epoch_tm)); - } -} |