1POSTGRESQL-UPGRADE(1)            User Commands           POSTGRESQL-UPGRADE(1)
2
3
4

NAME

6       postgresql-upgrade - manual page for postgresql-upgrade 8.7
7

SYNOPSIS

9       postgresql-upgrade [--upgrade-from=ID] DATADIR
10

DESCRIPTION

12       Wrapper  script  for  pg_upgrade.  It has pre-configured pg_upgrade op‐
13       tions and environment variables.
14

OPTIONS

16       --upgrade-ids
17              Print list of available IDs of  upgrade  scenarios  to  standard
18              output.
19
20       --upgrade-from=ID
21              Specify  id  "old"  postgresql  stack  to upgrade from.  List of
22              available IDs can be listed by --upgrade-ids.  Default is 'post‐
23              gresql'.
24
25   Other options:
26       --help show this help
27
28       --version
29              show version of this package
30

ENVIRONMENT

32       PGSETUP_INITDB_OPTIONS
33              Options  carried  by this variable are passed to subsequent call
34              of `initdb` binary (see man initdb(1)).  This variable  is  used
35              also  during  'upgrade' mode because the new cluster is actually
36              re-initialized from the old one.
37
38       PGSETUP_PGUPGRADE_OPTIONS
39              Options in this variable are passed next to the subsequent  call
40              of  `pg_upgrade`.   For  more info about possible options please
41              look at man pg_upgrade(1).
42
43       Built against PostgreSQL version 14.3.
44
45
46
47postgresql-upgrade 8.7            August 2022            POSTGRESQL-UPGRADE(1)
Impressum