Skip to content


PostgreSQL, it needs type casts #17

takaradaigo opened this Issue · 1 comment

2 participants


I am using Postgres.
The following errors occurred.
It is necessary to cast the type of int and text.

HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.


This can be fixed by editing line 101 in file tracsubtickets/ to read:
cursor.execute("SELECT parent, child FROM subtickets WHERE parent='%s'",
(parent_id, ))

Note the addition of the single quites around %s . Now simply build the egg, and you're good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.