sql/*.sql files don't work if they contain %
|Reported by:||monikasulik||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.1|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'm getting a "tuple index out of range" error if I don't escape % characters in my app_name/sql/*.sql files (which, unless I'm mistaken, I shouldn't really have to do). I'm using psycopg2 (if this matters). The example code I'm attaching also causes a second error, which seems to have something to do with whitespace, but I think that one was already reported here.