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 psql14

Options

PostgreSQL Version (Required)

--use {psql13 | psql14 | psql15| psql16}

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

  • --use psql13: PostgreSQL 13
  • --use psql14: PostgreSQL 14
  • --use psql15: PostgreSQL 15
  • --use psql16: PostgreSQL 16