vapor-community / postgresql

Robust PostgreSQL interface for Swift
MIT License
131 stars 33 forks source link

Two Phase Commit support? #39

Open BrettRToomey opened 7 years ago

BrettRToomey commented 7 years ago

Moved from: https://github.com/vapor/fluent/issues/232

Feature

Does fluet support multi-database commits via two phase commits in Postgres?

natebird commented 7 years ago

@levin-ilya - Can you be more specific about what is being requested? In searching for two-phase commits it seems this is part of transaction support rather than multi-database. https://www.postgresql.org/docs/current/static/sql-prepare-transaction.html

If you are talking about something else and you provide a link or other documentation? Thanks!