aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/pgsql-types.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-05-25 13:02:22 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-05-25 13:02:22 +0200
commitd898c4df75e10a6aa0704ffd9952da73ee7d4060 (patch)
treeb26bff9a7ea1f8fc5364a575705f95f1e1f12ca6 /odb/pgsql/pgsql-types.hxx
parentc1d1c5e4e6086e4d4c06d84ac5a4667ccd21afb0 (diff)
Aesthetic changes and small refactorings
Diffstat (limited to 'odb/pgsql/pgsql-types.hxx')
-rw-r--r--odb/pgsql/pgsql-types.hxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/odb/pgsql/pgsql-types.hxx b/odb/pgsql/pgsql-types.hxx
index b872e6d..1001702 100644
--- a/odb/pgsql/pgsql-types.hxx
+++ b/odb/pgsql/pgsql-types.hxx
@@ -23,18 +23,13 @@ namespace odb
//
struct bind
{
- // @@ Initial set of buffer types to support numeric,
- // text, and binary data types.
enum buffer_type
{
smallint, // Buffer is short; size, capacity, truncated are unused.
integer, // Buffer is int; size, capacity, truncated are unused.
bigint, // Buffer is long long; size, capacity, truncated are unused.
real, // Buffer is float; size, capacity, truncated are unused.
- dbl, // Buffer is double; size, capacity, truncated are unused.
-
- // @@ Do we require different buffer types for each of these?
- //
+ double_, // Buffer is double; size, capacity, truncated are unused.
numeric, // Buffer is a char array.
text, // Buffer is a char array.
bytea // Buffer is a char array.