putao520 opened a new issue, #2858:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2858

   **Dialect**: PostgreSQL
   
   **Statement**
   
   ```sql
   CREATE FUNCTION f(a OUT int, b INOUT text) RETURNS record AS 'x' LANGUAGE 
sql;
   ```
   
   **Current behavior**: `OperateFunctionArg` parsing supports the mode-first 
form only, so a name followed by the mode is rejected.
   
   **Expected AST**: `OperateFunctionArg { mode, name: Some(..) }` with the 
mode after the argument name, as PG allows.
   
   **0.63.0 anchor**: `mod.rs:6226-6282`
   
   **pg_regress coverage**: `create_function (regression)`
   


-- 
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]

Reply via email to