Pre-version pg_upgrade syntax check

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Pre-version pg_upgrade syntax check
Date: 2020-02-10 21:59:17
Message-ID: alpine.LNX.2.20.2002101352320.32087@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Running Slackware-14.2/x86_64. Current installation is postgres-11.5 and I'm
upgrading to postgresql-12.1. Both versions are installed and stopped.

If I have correctly read the pg_upgrade manual page this is the command to
use (as user postgres) with lines split to fit the message; the command will
be on a single line:

pg_upgrade \
-b /usr/lib64/postgresql/11/bin/ \
-B /usr/lib64/postgesql/12/bin/ \
-d /var/lib/pgsql/11/data/ \
-D /var/lib/pgsql/12/data/ \
-p 5432 \
-P 5432

I don't know that the port numbers are required.

Have I missed an option?

Rich

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2020-02-10 22:00:43 Re: Pre-version pg_upgrade syntax check
Previous Message Naresh g 2020-02-10 10:34:35 Re: work_mem and shared_buffers question