Patches & Updates PostgreSQL 7.4.16 Upgrade

01 Mar 2006

H-Sphere versions: All

We recommend upgrading PostgreSQL server to 7.4.16 and fix Security hole.

System Requirements:

- H-Sphere 2.4.1 Patch 2 and higher. If you are running an earlier version of H-Sphere, this patch will break your installation.
- If your Postgres is older than v.7.3 or system DB encoding is other than UTF-8, manual update is highly recommended.

Update procedure:


H-Sphere 2.4.3 +:


  1. Log into your control panel server as root:
    su -
  2. Download the PostgreSQL 7.4.16 upgrade script from the psoft site:
    For Linux:
    For FreeBSD:
  3. Unpack the archive:
    tar xfz u-pgsql-7.4.16.tar.gz
  4. Enter the unpacked directory:
    cd u-pgsql-7.4.16
  5. To upgrade all PostgreSQL servers, run the script:

    To run the script and view the messages that appeared during installation, run the following command:

    sh | tee update.log
    It will copy the messages to the log file.


H-Sphere 2.5 +:


  1. Run HS updater for H-Sphere 2.5
    sh U25.0P9
  2. Execute updater command:
    hspackages postgres


H-Sphere 3.0 +:


  1. Run HS updater for the latest version of H-Sphere 3.0.0 from the directory the updater is located.
    sh U30.0RC4
    sh U30.0P2SSE
  2. To update the packages to the latest version, execute:
    hspackages postgres

Copyright 1998-2008. Positive Software Corporation.
All rights reserved.