PostgresSQL v8.3 Non-character data types are no longer automatically cast to TEXT
|Reported by:||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Due to subject it's not longer possible to use iexact, icontains,
istartswith, iendswith in lookup type with int4, int8, ...
It doesn't make a lot of sense to do partial string matches against non-strings, but sometimes it does.
For example, many people use integer fields for primary key values, but that integers not often just "digets", sometimes they are "codes" and someone need to do partial string matches against non-strings, integers (digits), in our case.