From 0f29a0658d08b00a172e7a1ca42e61bef23c3a97 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Wed, 15 Jun 2011 10:35:53 +0200 Subject: Add missing buffer types to bind --- odb/pgsql/pgsql-types.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'odb') 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; -- cgit v1.1