Section 1 · User commands
postgresql-upgrade.1
Package: postgresql-server
POSTGRESQL-UPGRADE
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
ENVIRONMENT
NAME
postgresql-upgrade − manual page for postgresql-upgrade 8.9
SYNOPSIS
postgresql-upgrade [—upgrade-from=ID] DATADIR
DESCRIPTION
Wrapper script for pg_upgrade. It has pre−configured pg_upgrade options and environment variables.
OPTIONS
−−upgrade−ids
Print list of available IDs of upgrade scenarios to standard output.
−−upgrade−from=ID
Specify id “old” postgresql stack to upgrade from. List of available IDs can be listed by −−upgrade−ids. Default is ’postgresql’.
Other options:
| −−help | show this help |
−−version
show version of this package
ENVIRONMENT
PGSETUP_INITDB_OPTIONS
Options carried by this variable are passed to subsequent call of ‘initdb‘ binary (see man initdb(1)). This variable is used also during ’upgrade’ mode because the new cluster is actually re−initialized from the old one.
PGSETUP_PGUPGRADE_OPTIONS
Options in this variable are passed next to the subsequent call of ‘pg_upgrade‘. For more info about possible options please look at man pg_upgrade(1).
Built against PostgreSQL version 16.10.