Can't use the modulo operator with Postgres

Bug #1073126 reported by Thomas Herve on 2012-10-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Storm
Low
Unassigned

Bug Description

If you try to do value % something with postgres, storm replaces the "?" marker with "%s", but doesn't escape existing "%". So any query that use that operation fails with "TypeError: not all arguments converted during string formatting".

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers