Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repofix #263

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,4 @@ Check [the doc](./doc/CONTRIBUTE.md) to understand how to contribute
* Repmgr: https://github.com/2ndQuadrant/repmgr
* Pgpool2: http://www.pgpool.net/docs/latest/pgpool-en.html
* Barman: http://www.pgbarman.org/
* Kubernetes: http://kubernetes.io/
* Kubernetes: http://kubernetes.io/
12 changes: 6 additions & 6 deletions doc/DIFF_RM3_RM4.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ SELECT * FROM nodes;
node_id | upstream_node_id | active | node_name | type | location | priority | conninfo | repluser | slot_name | config_file
---------+------------------+--------+-----------+---------+----------+----------+-----------------------------------------------------------------------------------------------------------------+------------------+---------------+------------------
1 | | t | node1 | primary | default | 100 | user=replication_user password=replication_pass host=pgmaster dbname=replication_db port=5432 connect_timeout=2 | replication_user | repmgr_slot_1 | /etc/repmgr.conf
4 | 1 | t | node4 | standby | default | 200 | user=replication_user password=replication_pass host=pgslave3 dbname=replication_db port=5432 connect_timeout=2 | replication_user | repmgr_slot_4 | /etc/repmgr.conf
2 | 1 | t | node2 | standby | default | 100 | user=replication_user password=replication_pass host=pgslave1 dbname=replication_db port=5432 connect_timeout=2 | replication_user | repmgr_slot_2 | /etc/repmgr.conf
4 | 1 | t | node4 | standby | default | 200 | user=replication_user password=replication_pass host=pgreplica3 dbname=replication_db port=5432 connect_timeout=2 | replication_user | repmgr_slot_4 | /etc/repmgr.conf
2 | 1 | t | node2 | standby | default | 100 | user=replication_user password=replication_pass host=pgreplica1 dbname=replication_db port=5432 connect_timeout=2 | replication_user | repmgr_slot_2 | /etc/repmgr.conf
(3 rows)
```

Expand All @@ -47,8 +47,8 @@ SELECT * FROM show_nodes;
node_id | node_name | active | upstream_node_id | upstream_node_name | type | priority | conninfo
---------+-----------+--------+------------------+--------------------+---------+----------+-----------------------------------------------------------------------------------------------------------------
1 | node1 | t | | | primary | 100 | user=replication_user password=replication_pass host=pgmaster dbname=replication_db port=5432 connect_timeout=2
4 | node4 | t | 1 | node1 | standby | 200 | user=replication_user password=replication_pass host=pgslave3 dbname=replication_db port=5432 connect_timeout=2
2 | node2 | t | 1 | node1 | standby | 100 | user=replication_user password=replication_pass host=pgslave1 dbname=replication_db port=5432 connect_timeout=2
4 | node4 | t | 1 | node1 | standby | 200 | user=replication_user password=replication_pass host=pgreplica3 dbname=replication_db port=5432 connect_timeout=2
2 | node2 | t | 1 | node1 | standby | 100 | user=replication_user password=replication_pass host=pgreplica1 dbname=replication_db port=5432 connect_timeout=2
(3 rows)
```

Expand All @@ -75,6 +75,6 @@ gosu postgres repmgr cluster show
ID | Name | Role | Status | Upstream | Location | Connection string
----+-------+---------+---------------+----------+----------+-----------------------------------------------------------------------------------------------------------------
1 | node1 | primary | * running | | default | user=replication_user password=replication_pass host=pgmaster dbname=replication_db port=5432 connect_timeout=2
2 | node2 | standby | ? unreachable | node1 | default | user=replication_user password=replication_pass host=pgslave1 dbname=replication_db port=5432 connect_timeout=2
4 | node4 | standby | ? unreachable | node1 | default | user=replication_user password=replication_pass host=pgslave3 dbname=replication_db port=5432 connect_timeout=2
2 | node2 | standby | ? unreachable | node1 | default | user=replication_user password=replication_pass host=pgreplica1 dbname=replication_db port=5432 connect_timeout=2
4 | node4 | standby | ? unreachable | node1 | default | user=replication_user password=replication_pass host=pgreplica3 dbname=replication_db port=5432 connect_timeout=2
```
Loading