tlocke / pg8000

A Pure-Python PostgreSQL Driver
BSD 3-Clause "New" or "Revised" License
515 stars 46 forks source link

Fixed 'malformed array literal' with texts like \n or \r #116

Closed vanviegen closed 2 years ago

vanviegen commented 2 years ago

Closes #115

Although I've extended the test case to demo the bug, I haven't been able to run the test suite locally. So the test is untested, sorry!

tlocke commented 2 years ago

Thanks @vanviegen, I've used this in https://github.com/tlocke/pg8000/commit/3d7b5bb768e997a612be08ede389e76d104ec2d4