diff options
Diffstat (limited to 'odb/relational/pgsql/model.cxx')
-rw-r--r-- | odb/relational/pgsql/model.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/relational/pgsql/model.cxx b/odb/relational/pgsql/model.cxx index ebd04af..06a7dde 100644 --- a/odb/relational/pgsql/model.cxx +++ b/odb/relational/pgsql/model.cxx @@ -34,7 +34,7 @@ namespace relational { // Make sure the column is mapped to an integer type. // - switch (column_sql_type (m).type) + switch (parse_sql_type (column_type (), m).type) { case sql_type::SMALLINT: case sql_type::INTEGER: |