Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 557 Bytes

File metadata and controls

7 lines (6 loc) · 557 Bytes

Master-master replication in PostgreSQL

An attempt to create a master-master replication in PostgreSQL using dblink extension and triggers. It was just an exercise and should not be (nor it was intended to be) used in production. There are existing, mature solutions to be used for such needs, like Postgres-BDR and Bucardo.

Usage

Execute: psql < mm_replication.sql