# File lib/dbi/typeutil.rb, line 64
64:         def self.type_name_to_module(type_name)
65:             case type_name
66:             when /^int(?:\d+|eger)?$/i
67:                 DBI::Type::Integer
68:             when /^varchar$/i, /^character varying$/i
69:                 DBI::Type::Varchar
70:             when /^(?:float|real)$/i
71:                 DBI::Type::Float
72:             when /^bool(?:ean)?$/i, /^tinyint$/i
73:                 DBI::Type::Boolean
74:             when /^time(?:stamp(?:tz)?)?$/i
75:                 DBI::Type::Timestamp
76:             when /^(?:decimal|numeric)$/i
77:                 DBI::Type::Decimal
78:             else
79:                 DBI::Type::Varchar
80:             end
81:         end