#20271: PostgreSQL error: No operator matches the given name and argument 
type(s).
You might need to add explicit type casts.
-------------------------------------+-------------------------------------
     Reporter:  arctelix@…           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.4
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:  postgresql, pk       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by akaariai):

 Could you produce a test case using standard django models?

 I think the problem is that there is need for casting the id to text in
 the join condition, so that object_id and the id field's types match. This
 doesn't seem to be easy to do, as currently only direct = conditions in
 joins are supported.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20271#comment:5>
Django <https://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 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.834345cc6f701bd27d8b2ebb9547d492%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to