LucaCappelletti94 opened a new pull request, #2783:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2783

   `COMMENT ON COLUMN t.id IS 'Column ''id'' on t'` rendered as `COMMENT ON 
COLUMN t.id IS 'Column 'id' on t'`, which does not parse. The value is now 
printed through `escape_single_quote_string`. Hopefully there are not many of 
these still in the codebase, I am trying to find the last ones. Of course, 
there is an argument to turn `escape_single_quote_string` to a 
`write_escape_single_quote_string` to avoid the allocation, but I will tackle 
that separately.
   
   https://www.postgresql.org/docs/current/sql-comment.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • [PR] PostgreSQL: Escape quotes i... LucaCappelletti94 (via GitHub) via github

Reply via email to