Re: Empte XXX__in queries with postgres

2006-07-30 Thread Russell Keith-Magee
On 7/31/06, Neilen Marais <[EMAIL PROTECTED]> wrote: Is this considered to be a bug, or must I simply live with it?I'd call inconsistency between database platforms a bug. If you would log this, we would be much obliged.Thanks, Russ Magee %-) --~--~-~--~~~---~--~~

Empte XXX__in queries with postgres

2006-07-30 Thread Neilen Marais
Hi I fairly often have code that looks like Model.objects.filter(id__in=some_list) where some_list is generated programatically. Sometimes some_list is empty, and if it is, I get a psycopg.ProgrammingError exception. OTOH if I use SQLite I simply get back an empty query-set as expected. Is