mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-02 13:12:16 +00:00
Support for postgres String Constants with Unicode Escapes (#1355)
This commit is contained in:
parent
c3ba2f33c6
commit
bc15f7b4ce
7 changed files with 180 additions and 0 deletions
|
@ -40,6 +40,10 @@ impl Dialect for PostgreSqlDialect {
|
|||
ch.is_alphabetic() || ch.is_ascii_digit() || ch == '$' || ch == '_'
|
||||
}
|
||||
|
||||
fn supports_unicode_string_literal(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
/// See <https://www.postgresql.org/docs/current/sql-createoperator.html>
|
||||
fn is_custom_operator_part(&self, ch: char) -> bool {
|
||||
matches!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue