1POSTGRESQL-SETUP(1)       Postgresql RPM-dist manual       POSTGRESQL-SETUP(1)
2
3
4

NAME

6       postgresql-setup - manual page for postgresql-setup 9.2.24
7

SYNOPSIS

9       postgresql-setup {initdb|upgrade} [SERVICE_NAME]
10

DESCRIPTION

12       Script  is  aimed to help sysadmin with basic database cluster adminis‐
13       tration.
14
15       The SERVICE_NAME is used for selection  of  proper  unit  configuration
16       file;  For  more info and howto/when use this script please look at the
17       docu file /usr/share/doc/postgresql-9.2.24/README.rpm-dist.  The 'post‐
18       gresql' string is used when no SERVICE_NAME is explicitly passed.
19
20   Available operation mode:
21       initdb Create  a  new PostgreSQL database cluster.  This is usually the
22              first action you perform after PostgreSQL server installation.
23
24       upgrade
25              Upgrade PostgreSQL  database  cluster  to  be  usable  with  new
26              server.   Use  this  if  you  upgraded your PostgreSQL server to
27              newer major version (currently from 8.4 to 9.2).
28

ENVIRONMENT

30       PGSETUP_INITDB_OPTIONS
31              Options carried by this variable are passed to  subsequent  call
32              of  `initdb`  binary (see man initdb(1)).  This variable is used
33              also during 'upgrade' mode because the new cluster  is  actually
34              re-initialized from the old one.
35
36       PGSETUP_PGUPGRADE_OPTIONS
37              Options  in this variable are passed next to the subsequent call
38              of `pg_upgrade`.  For more info about  possible  options  please
39              look at man pg_upgrade(1).
40
41       PGSETUP_DEBUG
42              Set to '1' if you want to see debugging output.
43
44
45
46postgresql-setup 9.2.24           August 2018              POSTGRESQL-SETUP(1)
Impressum