Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j1H5T-0007Le-Mt for pgsql-general@arkaria.postgresql.org; Mon, 10 Feb 2020 21:59:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j1H5R-00034q-Fu for pgsql-general@arkaria.postgresql.org; Mon, 10 Feb 2020 21:59:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j1H5Q-00034j-TG for pgsql-general@lists.postgresql.org; Mon, 10 Feb 2020 21:59:25 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j1H5L-0006Xy-W4 for pgsql-general@postgresql.org; Mon, 10 Feb 2020 21:59:23 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id A4F59262F3A for ; Mon, 10 Feb 2020 13:59:17 -0800 (PST) Date: Mon, 10 Feb 2020 13:59:17 -0800 (PST) From: Rich Shepard Reply-To: Rich Shepard To: pgsql-general@postgresql.org Subject: Pre-version pg_upgrade syntax check Message-ID: User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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