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
Allow enabling two-phase option via replication protocol.
Extend the replication command CREATE_REPLICATION_SLOT to support theTWO_PHASE option. This will allow decoding commands like PREPARETRANSACTION, COMMIT PREPARED and ROLLBACK PREPARED for slots created withthis option. The decoding of the transaction happens at prepare command.This patch also adds support of two-phase in pg_recvlogical via a newoption --two-phase.This option will also be used by future patches that allow streaming oftransactions at prepare time for built-in logical replication. With this,the out-of-core logical replication solutions can enable replication oftwo-phase transactions via replication protocol.Author: Ajin CherianReviewed-By: Jeff Davis, Vignesh C, Amit KapilaDiscussion:https://postgr.es/m/02DA5F5E-CECE-4D9C-8B4B-418077E2C010@postgrespro.ruhttps://postgr.es/m/64b9f783c6e125f18f88fbc0c0234e34e71d8639.camel@j-davis.com