Skip to content

Commit

Permalink
Treat PostgreSQL native replication as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
to-bar committed Oct 28, 2020
1 parent 6ffe669 commit 653b7e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/home/HOWTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
- [Databases](./howto/DATABASES.md)
- [How to migrate from PostgreSQL installed from Software Collections to installed from PostgreSQL repository](./howto/DATABASES.md#how-to-migrate-from-postgresql-installed-from-software-collections-to-installed-from-postgresql-repository)
- [How to configure PostgreSQL](./howto/DATABASES.md#how-to-configure-postgresql)
- [How to configure PostgreSQL replication](./howto/DATABASES.md#how-to-configure-postgresql-replication)
- [How to configure PostgreSQL replication](./howto/DATABASES.md#how-to-set-up-postgresql-ha-replication-with-repmgr-cluster)
- [How to set up PostgreSQL connection pooling](./howto/DATABASES.md#how-to-set-up-postgresql-connection-pooling)
- [How to register database standby in repmgr cluster](./howto/DATABASES.md#how-to-register-database-standby-in-repmgr-cluster)
- [How to switchover database nodes](./howto/DATABASES.md#how-to-switchover-database-nodes)
Expand Down
9 changes: 7 additions & 2 deletions docs/home/howto/DATABASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ PgBouncer listens on standard port 6432. Basic configuration is just template, w

PgBouncer can be also installed (together with Pgpool) in K8s cluster. See [How to set up PgBouncer, PgPool and PostgreSQL parameters](#how-to-set-up-pgbouncer-pgpool-and-postgresql-parameters).

## How to setup PostgreSQL HA replication with repmgr cluster
## How to set up PostgreSQL HA replication with repmgr cluster

This component can be used as a part of PostgreSQL clustering configured by Epiphany. In order to configure PostgreSQL HA
replication, add to your data.yaml a block similar to the one below to core section:
Expand Down Expand Up @@ -480,12 +480,17 @@ DROP EXTENSION IF EXISTS pgaudit;

## How to configure PostgreSQL replication

#### Note

This feature is deprecated and will be removed.
Use [PostgreSQL HA replication with repmgr](#how-to-set-up-postgresql-ha-replication-with-repmgr-cluster) instead.

#### Attention

In version 0.6.0 because of delivering full HA for PostgreSQL we needed to change configuration for PostgreSQL native
replication.

You need to change old configuration file from the one visible below:
You need to change old configuration file from the one like this:

```yaml
kind: configuration/postgresql
Expand Down

0 comments on commit 653b7e4

Please sign in to comment.