PostgreSQL statement parsing fails on string literals with newline characters #1730
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The PostgreSQL statement parser that removes comments and determines how many query parameters are in a query fails if the statement contains one or more string literals or quoted identifiers that contain a newline character.
So the following statements fail with an
INVALID_ARGUMENT: SQL statement contains an unclosed literal
error:The text was updated successfully, but these errors were encountered: