Skip to content

Instantly share code, notes, and snippets.

@victorboissiere
Created March 31, 2018 22:35
Show Gist options
  • Save victorboissiere/59aab3357486a99a97f42475845fc8fb to your computer and use it in GitHub Desktop.
Save victorboissiere/59aab3357486a99a97f42475845fc8fb to your computer and use it in GitHub Desktop.
Repmgr medium
Role | Name | Upstream | Connection String
----------+---------|----------|---------------------------------------------------------
* master | server2 | | host=server2 user=repmgr dbname=repmgr connect_timeout=2
standby | server1 | server2 | host=server1 user=repmgr dbname=repmgr connect_timeout=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment