iximiuz/pq

Improve string literal parser

iximiuz opened this issue · 0 comments

At the moment, the string literal parser is naive. For instance, it doesn't handle escape sequences properly. nom has an example of a more robust string literal parser, so it can be adapted to suit pq use cases. However, the licensing aspect needs to be researched first. Can nom's example be just copied or it has to be copied with the license notice, or it cannot be copied at all?