Postgres Replication Slots: Confirmed Flush LSN vs. Restart LSN

&#xA; Table of Contents &#xA; &#xA; confirmed_flush_sn: Tracking Consumer Progress &#xA; restart_lsn: Handling Concurrent Transactions &#xA; Mid-Transaction Recovery &#xA; Looking Forward: Streaming In-Progress Transactions &#xA; &#xA; &#xA; &#xA; Replication slots in Postgres keep track of how far consumers have read a replication stream.&#xA;After a restart, consumers—​either Postgres read…