#25476: bug in array handling hit in get_constraints() for psycopg2?
-------------------------------------+-------------------------------------
     Reporter:  heasus               |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  1.8
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  psycopg2 fetchall    |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by timgraham):

 I also couldn't reproduce with the provided schema.

 * Python 3.4.3
 * PostgreSQL 9.4.5
 * psycopg2==2.6.1

 One difference is that when I execute the query in the description, I only
 get two rows:

 "things_child_fkey";"child";"FOREIGN KEY";"{children.idx}"
 "things_sibling_fkey";"sibling";"FOREIGN KEY";"{children.idx}"

 (no results for primary keys). I haven't tried to understand the issue
 further besides these steps.

--
Ticket URL: <https://code.djangoproject.com/ticket/25476#comment:13>
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/064.fb8339c22a1b5c5c6dcf3a535b57848b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to