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

   **Dialect**: PostgreSQL
   
   **Statement**
   
   ```sql
   PREPARE TRANSACTION 's1';
   COMMIT PREPARED 's1';
   ```
   
   **Current behavior**: `Statement::Prepare` models SQL-level `PREPARE name AS 
...`; the 2PC transaction forms have no production.
   
   **Expected AST**: `Statement::PrepareTransaction`, 
`Statement::CommitPrepared`, `Statement::RollbackPrepared`.
   
   **0.63.0 anchor**: `mod.rs:20092 (Prepare), parse_commit`
   
   **pg_regress coverage**: `prepared_xacts (isolation)`
   


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