diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-07-13 10:03:09 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-07-13 10:03:09 +0200 |
commit | e607b4dfb03f17e073725013df12a11547fc6a54 (patch) | |
tree | 2b74ffb991b763a87fc9a26b6cca7b5f3d64db8d /odb/pgsql/pgsql-types.hxx | |
parent | beb52e1cbd129549a4c70c44d567c891f656359f (diff) |
Add support for DATE, TIME and TIMESTAMP SQL types
Diffstat (limited to 'odb/pgsql/pgsql-types.hxx')
-rw-r--r-- | odb/pgsql/pgsql-types.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/pgsql/pgsql-types.hxx b/odb/pgsql/pgsql-types.hxx index 3abd4fc..1d83b9f 100644 --- a/odb/pgsql/pgsql-types.hxx +++ b/odb/pgsql/pgsql-types.hxx @@ -30,6 +30,9 @@ namespace odb real, // Buffer is float; size, capacity, truncated are unused. double_, // Buffer is double; size, capacity, truncated are unused. numeric, // Buffer is a char array. + date, // Buffer is int; size, capacity, truncated are unused. + time, // Buffer is long long; size, capacity, truncated are unused. + timestamp,// Buffer is long long; size, capacity, truncated are unused. text, // Buffer is a char array. bytea, // Buffer is a char array. bit, // Buffer is a char array. |