You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a2e0cec
Browse filesBrowse the repository at this point in the historyBrowse files
feat: parse PostgreSQL two-phase commit and MySQL XA statements (#2904)
PostgreSQL PREPARE TRANSACTION, COMMIT PREPARED and ROLLBACK PREPARED
and the MySQL XA statements failed to parse.
Add TransactionId, one identifier model for MySQL's xid (gtrid
[, bqual [, formatID]]) and the single string of PostgreSQL and of
Oracle's ROLLBACK FORCE. Commit and RollbackStatement name a prepared
transaction through TransactionCompletionStatement, with PREPARED or
FORCE as the keyword; the legacy FORCE accessors derive from it.
PREPARE TRANSACTION is a new PrepareTransactionStatement, dispatched
before PREPARE name AS only when a string literal follows. The XA
statements are one XaStatement with an Action and an Option.
The PostgreSQL forms are read with that dialect or none and take a
string constant; XA is read with the MySQL and MariaDB dialects or none
and follows MySQL's xid grammar. XA stays usable as a name. Wire the
statements into the deparser, visitors, table finder, feature analysis
and validation, with new twoPhaseCommit and xa features.
Signed-off-by: minleejae <mmj9808@gmail.com>
0 commit comments