Did you try to find anything related in Trac? Maybe 
https://code.djangoproject.com/ticket/24082?

I use this query in Google: postgresql unique index 
site:code.djangoproject.com

On Friday, September 16, 2016 at 9:51:13 AM UTC-4, Dilyan Palauzov wrote:
>
> Hello, 
>
> according to the documentation models.ForeignKeys creates implicitly an 
> index on the underlying database. 
>
> Wouldn't it be reasonable to change the default behaviour to only create 
> implicit index, if there is no index_together or unique_together starting 
> with the name of the foreign key?   In such cases the implicit index is 
> redundant, at least with Postgresql, as the value can be found fast using 
> the _together index. 
>
> Greetings 
>    Dilian 
>

-- 
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 django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/53e1efb0-381a-40ca-874f-763d9f09e8d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to