Why not creating the index as LOWER(email) and do the lookup as LOWER?
On Nov 23, 2015 6:18 PM, "Carl Meyer" <[email protected]> wrote:

> On 11/23/2015 03:52 PM, Carl Meyer wrote:
> ...
> > I suppose the best we could do to ease this would be to add a
> > CreateExtension migration operation in contrib.postgres that, if lacking
> > super-user permissions, simply errors out and tells you what SQL you
> > need to run manually as a super-user?
>
> ...and now that I look, it appears we already have the `CreateExtension`
> operation :-) It doesn't appear to do anything special to handle the
> permissions problem. Maybe there's not much useful that can be done.
>
> Carl
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers  (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/56539EB1.7060802%40oddbird.net
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CANJp-yiBge_SxmXUkTBB5U75oXoFmDo2RO4rPh707_ZZE9gbLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to