Re: [Django] #12739: Inconsistent sorting behavior in mult-table inheritance query for different database backends

2010-02-04 Thread Django
#12739: Inconsistent sorting behavior in mult-table inheritance query for 
different
database backends
---+
  Reporter:  gsong | Owner:  nobody
Status:  closed| Milestone:
 Component:  Database layer (models, ORM)  |   Version:  1.1   
Resolution:  invalid   |  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by Alex):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => invalid
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 This looks to be a DB level inconsistency, not something Django can
 control.  Unless there's something I'm missing closing as wontfix.

-- 
Ticket URL: 
Django 
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #12739: Inconsistent sorting behavior in mult-table inheritance query for different database backends

2010-01-30 Thread Django
#12739: Inconsistent sorting behavior in mult-table inheritance query for 
different
database backends
--+-
 Reporter:  gsong |   Owner:  nobody
   Status:  new   |   Milestone:
Component:  Database layer (models, ORM)  | Version:  1.1   
 Keywords:|   Stage:  Unreviewed
Has_patch:  0 |  
--+-
 Given the following models:
 {{{
 #!python
 from django.db import models

 class A(models.Model):
 name = models.CharField(max_length=50)

 class B(A):
pass

 class C(A):
pass
 }}}

 The following query returns different queryset order for `sqlite3` vs.
 `postgresql_psycopg2`:
 {{{
 #!python
 A.objects.order_by('b', 'name')
 }}}

 SQLite will sort B objects, followed by C objects. PostgreSQL will sort C
 objects, followed by B objects.

-- 
Ticket URL: 
Django 
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.