mfenniak / pg8000

A Pure-Python PostgreSQL Driver
http://pythonhosted.org/pg8000/
Other
222 stars 55 forks source link

Correctly process type conversion when it's used with named or numeric parameter style. #143

Closed Stvad closed 5 years ago

Stvad commented 7 years ago

The gist is to treat ':' as a signal to change state for named/numeric parameters if and only if it's the only ':' around, to avoid confusing type conversions in queries with the parameter definitions.
Fix for #142

tlocke commented 5 years ago

Thanks, I've used this PR.