Previous Topic

Next Topic

Book Contents

Book Index

Upgrading the PostgreSQL database server

This procedure describes how to upgrade the PostgreSQL database server to the latest supported version. After you have upgraded Control-M/EM or Control-M/Server, the PostgreSQL database server version remains the same. If you want to upgrade the PostgreSQL database server, perform this procedure.

EXAMPLE: If you upgrade from version 9.0.18 to 9.0.20 the PostgreSQL version (9.5.5) remains the same. However if you install a new Control-M with 9.0.20, the PostgreSQL version is 11.5.

NOTE:

Before you begin:

To upgrade the PostgreSQL database server:

  1. Navigate to one of the following PostgreSQL server upgrade package locations:
  2. Copy the package to be parallel to the pgsql directory.

    The pgsql directory is located in one of the following locations:

  3. Do one of the following:
  4. Shut down Control-M/EM or Control-M/Server components (both for Full Install):
  5. Navigate to the pg_server_upgrade directory and run one of the following commands:
  6. Follow the on-screen instructions until the upgrade is complete.

    If you want to downgrade to the old PostgreSQL database server version, rename the the pgsql.old.<timestamp> directory to pgsql. The database server is reverted to the existing version before the upgrade. Any changes made to the new PostgreSQL server are not applied to the downgraded PostgreSQL server version.

    After the upgrade, Archive mode is disabled. To perform a hot backup, you need to enable Archive mode and restart the hot backup, as described in Database backup and restore.

Parent Topic

Control-M upgrade