diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-06-15 10:35:53 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-06-20 16:08:20 +0200 |
commit | 0f29a0658d08b00a172e7a1ca42e61bef23c3a97 (patch) | |
tree | f279159634c9e71cc3b867287cec28995da3ea23 | |
parent | 9014403104a5717f7dd8aab4c429d7fb710b9471 (diff) |
Add missing buffer types to bind
-rw-r--r-- | odb/pgsql/pgsql-types.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/odb/pgsql/pgsql-types.hxx b/odb/pgsql/pgsql-types.hxx index d84f52a..c24aad7 100644 --- a/odb/pgsql/pgsql-types.hxx +++ b/odb/pgsql/pgsql-types.hxx @@ -21,6 +21,7 @@ namespace odb { enum buffer_type { + boolean, // Buffer is a bool; size, capacity, truncated are unused. 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. @@ -28,7 +29,11 @@ namespace odb 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. + bytea, // Buffer is a char array. + bit, // Buffer is a char array. + varbit, // Buffer is a char array. + uuid // Buffer is a 16-byte char array; size capacity, truncated + // are unused. }; buffer_type type; |