We recently pushed to our production environment a feature that involved
summing (with django.db.models.Sum) over CharField entries containing
numeric text.  It ended up not working correctly since the postgresql
SUM function can't handle textual arguments, whereas sqlite's apparently
can.

A nice feature that might have saved us the trouble would be to emit
warnings when running an aggregation function with types that don't work
with all of the db backends.

Any objections to me filing a feature request for this?

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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 http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/87ob1wa6c4.fsf%40nbtrap.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to