m6w6 / ext-pq

PostgreSQL client library (libpq) binding
BSD 2-Clause "Simplified" License
39 stars 7 forks source link

Add BYTEA unescaping support #38

Closed danog closed 3 years ago

m6w6 commented 3 years ago

Please add a test case if you want this to be merged.

Thank you for your contribution!

danog commented 3 years ago

Hi, sorry for the lack of activity.

Indeed I have tried writing a testcase for this, but I could not find a way to return a forcefully escaped result from postgres, except when using my own application))))

m6w6 commented 3 years ago

Fixup committed as https://github.com/m6w6/ext-pq/commit/a4fefa8b3887b4f0aea4f4eef16ddf87acdf2d33