Ticket #6523: iexact.diff

File iexact.diff, 484 bytes (added by Jason Davies, 17 years ago)

Fix for iexact in PostgreSQL 8.3

  • django/db/backends/postgresql/base.py

     
    6767    ops = DatabaseOperations()
    6868    operators = {
    6969        'exact': '= %s',
    70         'iexact': 'ILIKE %s',
     70        'iexact': '::text ILIKE %s',
    7171        'contains': 'LIKE %s',
    7272        'icontains': 'ILIKE %s',
    7373        'regex': '~ %s',
Back to Top