Skip to content

Commit

Permalink
Merge pull request #2192 from EnterpriseDB/docs/pgbouncer/patch-upgra…
Browse files Browse the repository at this point in the history
…de-instructions

pgBouncer: upgrading topic
  • Loading branch information
drothery-edb authored Feb 11, 2022
2 parents ba3f9b4 + 46a12ec commit 031e5f1
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
2 changes: 1 addition & 1 deletion product_docs/docs/pgbouncer/1.16/01_installation/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Installation"
title: "Installing"

legacyRedirectsGenerated:
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key.
Expand Down
35 changes: 35 additions & 0 deletions product_docs/docs/pgbouncer/1.16/01a_upgrading.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Upgrading
---

You can upgrade to a patch release with a simple in place upgrade. A minor release upgrade such as upgrading from 1.15 to 1.16 requires additional steps.

To upgrade to a new minor release:

1. Stop the service for the currently installed version.
2. Install the new release.

For RHEL/Rocky Linux/AlmaLinux 7/8 on x86_64:
```
dnf -y upgrade edb-pgbouncer<xx>
```

For RHEL/CentOS 7 on ppc64le:
```
yum -y upgrade edb-pgbouncer<xx>
```

For SLES:
```
zypper -n update edb-pgbouncer<xx>
```

For Ubuntu/Debian:
```
apt-get -y upgrade edb-pgbouncer<xx>
```

Where &lt;xx> is the PgBouncer minor version you want to upgrade to.

3. If you have any custom configurations in the `edb-pgbouncer.ini` and `userlist.txt` files for the previously installed version, copy them from the versions of those files where the customization were made and paste them to the corresponding files for the release you just installed.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Configuration and Usage"
title: "Configuring and Usage"

legacyRedirectsGenerated:
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key.
Expand Down
2 changes: 1 addition & 1 deletion product_docs/docs/pgbouncer/1.16/03_uninstallation.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Uninstallation"
title: "Uninstalling"

legacyRedirectsGenerated:
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key.
Expand Down

0 comments on commit 031e5f1

Please sign in to comment.