You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PostgreSQL stores a backslash before each double quote in an attribute comment #1729
compile_attribute in declare.py writes a double quote in an attribute comment as \". MySQL reads \" inside its string literal as a plain ". PostgreSQL does not treat a backslash as an escape in a standard string literal, so it stores the backslash too.
The stored comment is say "hi" on both backends. The escaping could move into the adapters, or the comment could be written with the adapter's string quoting, so that each backend gets the escape it needs.
Reported in review of #1639. The escaping predates that PR.
Activity