From d93b1d9e83c8b603e58880fc7cd7b71b21e24617 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 14 Jul 2011 16:24:24 +0200 Subject: Map unsigned short and int C++ types to SMALLINT and INTEGER PostgreSQL types --- odb/relational/pgsql/context.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/relational/pgsql/context.cxx') diff --git a/odb/relational/pgsql/context.cxx b/odb/relational/pgsql/context.cxx index 61dfa45..5a6b158 100644 --- a/odb/relational/pgsql/context.cxx +++ b/odb/relational/pgsql/context.cxx @@ -36,10 +36,10 @@ namespace relational {"unsigned char", "SMALLINT", 0}, {"short int", "SMALLINT", 0}, - {"short unsigned int", "INTEGER", 0}, + {"short unsigned int", "SMALLINT", 0}, {"int", "INTEGER", 0}, - {"unsigned int", "BIGINT", 0}, + {"unsigned int", "INTEGER", 0}, {"long int", "BIGINT", 0}, {"long unsigned int", "BIGINT", 0}, -- cgit v1.1