On Mon, May 19, 2008 at 9:50 AM, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> > Prior to PostgreSQL 8.3, non-text types were implicitly converted to text. > > This allowed things like the following: > > class Log(models.Model): > actor = models.CharField(...) > > > >>> Log.objects.filter(actor=1).count() > > === > > With 8.3, this fails because there's no operator between text and integer. > > I see that the Oracle backend already includes > OracleQueryconvert_values which does conversion into the backend based > on the the passed value and the field type. > > Perhaps we need to add that for PostgreSQL now? It's pretty onerous > to do the casting at the app level. > > Am I missing something? I was a bit surprised to find no similar > complaints on the mailing list. :) > There was this discussion: http://groups.google.com/group/django-developers/browse_thread/thread/371e8743fffd3d0c/1e5d3f777e3fd699 Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---