Minor EDB Postgres Extended Server upgrade of Debian packages v16
If you used apt-get
to install a Debian package of EDB Postgres Extended Server (on Ubuntu, Debian), use apt-get
to perform a minor version upgrade of the packages.
Overview
Upgrade the EDB Postgres Extended Server packages with
apt-get install
.Restart the server with
pg_ctl
.Verify the server version with psql.
Worked example
To upgrade the existing packages, 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 perform a search of the packages to ensure you update the right package beforehand. For example, to browse through all EDB Packages, you can run
sudo apt-cache edb
. For more information about usingapt-get
commands and options, enterapt-get --help
at the command line.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