#18218: get_table_list in postgresql introspection is unordered
-------------------------------------+-------------------------------------
               Reporter:  claudep    |          Owner:  nobody
                   Type:  Bug        |         Status:  new
              Component:  Database   |        Version:  SVN
  layer (models, ORM)                |       Keywords:  introspection
               Severity:  Normal     |      Has patch:  0
           Triage Stage:             |    Needs tests:  0
  Unreviewed                         |  Easy pickings:  0
    Needs documentation:  0          |
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 After looking for the cause of test failures after r17942, I realized that
 get_table_list result ordering is not consistent between backends.

 The list is explicitely ordered by table name in sqlite3, implicitely
 ordered (SHOW TABLES) in MySQL, and unordered in PostgreSQL and Oracle.

 I suggest to fix this by ordering by table name in PostgreSQL and Oracle
 and adding a test case.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18218>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to