bikeshedder / tusker

PostgreSQL migration management tool
The Unlicense
208 stars 17 forks source link

Escape percent sign in SQL text #22

Closed daa closed 2 years ago

daa commented 2 years ago

Unescaped % signs in SQL text are treated as DB-API query parameters which is not what we need.

Closes: #21

bikeshedder commented 2 years ago

You're 100% right. What a silly oversight.

bikeshedder commented 2 years ago

Thanks a lot for the patch! :+1:

I just released Tusker 0.4.8 including your fix: https://pypi.org/project/tusker/0.4.8/