#3464: Oracle representation of the IPAddressField
-----------------------+----------------------------------------------------
Reporter:  benk        |       Owner:  jacob                
  Status:  new         |   Component:  Uncategorized        
 Version:  SVN         |    Keywords:  Oracle, IPAddessField
   Stage:  Unreviewed  |   Has_patch:  0                    
-----------------------+----------------------------------------------------
 The IPAddressField is defined in creation.py as CHAR(15). To my
 understanding this means that all values in that column will be allocated
 enough memory to store 15 characters of data regardless if the string
 being stored is in fact 15 characters long.
 
 I have discovered that for an IP address such as 192.168.1.210 where there
 are only 13 characters, the data base will pad out my IP address with
 space characters so that it becomes '192.168.1.210  '. This causes
 problems when performing searches unless I use '__istartswith'.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3464>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to