Minor EDB Postgres Extended Server upgrade of RPM packages v16
If you used dnf
to install an RPM package of EDB Postgres Extended Server (on RHEL, AlmaLinux, Rocky Linux), use dnf
to perform a minor version upgrade of the packages.
Overview
Check for available updates with
dnf check-update
.Upgrade the EDB Postgres Extended Server packages with
dnf update
.Restart the server with
pg_ctl
.Verify the server version with psql.
Worked example
To list the package updates available for your system, open a command line, assume root privileges, and enter the command:
For example, if you want to upgrade to the latest minor version of EDB Postgres Extended Server 16, run:
Note
You can include wildcard values in the search term. For example, if you're looking for EDB Packages, you can run
sudo dnf check-update edb-*
. For more information about usingdnf
commands and options, enterdnf --help
at the command line.Once you've figured the name and version of the package you want to install, use
dnf update
to install the package:Confirm with
y
. The output displays an overview of all performed processes, where you can see the packages that were upgraded:To finalize the upgrade, restart the server. Replace
<path_to_data_directory>
with the path to the data directory of the server or servers you're upgrading:For example:
Verify the expected database version is running by connecting to psql:
Check the server version:
- On this page
- Overview
- Worked example