HOME » Documents » KUSANAGI 9 Commands » upgrade psql

upgrade psql

upgrade psql

Upgrades the version of PostgreSQL. Attempting to downgrade will result in an error.
We recommend that a backup of the current environment be made prior to the upgrade so that it can be restored after the upgrade.

Example

kusanagi upgrade psql --use psql18

Options

PostgreSQL Version (Required)

--use {psql14 | psql15 | psql16 | psql17 | psql18}
Discontinued options
--use psql13 (discontinued as of 9.8.5 and 10.3.5)

Specifies the PostgresSQL version to upgrade to. When specified, PostgresSQL will be upgraded to one of the following.

  • --use psql14: PostgreSQL 14
  • --use psql15: PostgreSQL 15
  • --use psql16: PostgreSQL 16
  • --use psql17: PostgreSQL 17
  • --use psql18: PostgreSQL 18
  • --use psql13 (discontinued as of 9.8.5 and 10.3.5): PostgreSQL 13