Support configuring the parser w/ relevant server settings?
My understanding is that some PG server options can change how parsing works (e.g., allow_nulls and standard_conforming_strings). Does libpg_query support configuring the parser with these settings, to match the server? Can/should it?
@ethanresnick Today there is no mechanism to modify these settings, mostly since there are very limited use cases for setting them.
Do you have a reason to want to set them / what's the use case?
Do you have a reason to want to set them
No, I was mostly just curious; my thought was that a user of this library who did have those settings applied on their server would likely want to match them in libpq_query, as it seems like having a guarantee of consistent parsing between the server and wherever libpq_query is running could be an important security property, and part of the reason people would want to use this library