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

   `ALTER OPERATOR <<< (int4, int4) SET (HASHES = false)` and `CREATE OPERATOR 
... (HASHES = true)` failed to parse. PostgreSQL accepts a Boolean after 
`HASHES` and `MERGES`, written as `true`/`false`, `on`/`off`, `1`/`0` or the 
same words in quotes. PostgreSQL 18 accepts `HASHES = on`, for example, and 
refuses `HASHES = 2`.
   
   `OperatorOption::Hashes` and `Merges` now hold an `Option<bool>`.


-- 
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: Accept `HASHES/... LucaCappelletti94 (via GitHub) via github

Reply via email to