Not directly related, but in a sublink within that piece I found an interesting read about 2 phase commits in Postgres.<p><a href="https:&#x2F;&#x2F;aphyr.com&#x2F;posts&#x2F;282-call-me-maybe-postgres" rel="nofollow">https:&#x2F;&#x2F;aphyr.com&#x2F;posts&#x2F;282-call-me-maybe-postgres</a>