Discourse synchronisation for multiple instances

Discourse is not designed for an application like this. It is extremely unlikely you will be able to get two-way postgres synchronisation working in a way that doesn’t break Discourse.

Changing this would require some significant changes in the Discourse code.

If you make the slaves read-only, and synchronise postgres one-way, then it might be possible to make this work… but it will be difficult