waynexia commented on PR #2332:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/2332#issuecomment-4468812192

   checked postgresql's document 
https://www.postgresql.org/docs/current/sql-abort.html:
   
   >ABORT rolls back the current transaction and causes all the updates made by 
the transaction to be discarded. This command is identical in behavior to the 
standard SQL command 
[ROLLBACK](https://www.postgresql.org/docs/current/sql-rollback.html), and is 
present only for historical reasons.
   
   but `ROLLBACK` is also used with `TO SAVEPOINT`, which is not the same case 
as `ABORT` https://www.postgresql.org/docs/current/sql-rollback-to.html. Maybe 
we should parse them separately?


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