pwtail / vinyl_v1

2 stars 1 forks source link

Use `make_conninfo()` to compose connection strings #6

Open dvarrazzo opened 2 years ago

dvarrazzo commented 2 years ago

https://github.com/vinylproject/vinyl/blob/4e0a7e1b4c30bb4a6887b4db59992961920f1ee7/vinyl/postgresql_backend/common.py#L12-L15

This code doesn't work if the connection string items contain weird chars. Please use make_conninfo().