From: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@postgresql.org
Subject: Re: Pre-version pg_upgrade syntax check
Date: Mon, 10 Feb 2020 15:30:51 -0800 (PST)
Message-ID: <alpine.LNX.2.20.2002101529200.4839@salmo.appl-ecosys.com> (raw)
In-Reply-To: <03ebdc12-d8f6-8310-9552-f7a744fe3e73@aklaver.com>
References: <alpine.LNX.2.20.2002101352320.32087@salmo.appl-ecosys.com>
<03ebdc12-d8f6-8310-9552-f7a744fe3e73@aklaver.com>
On Mon, 10 Feb 2020, Adrian Klaver wrote:
>> I don't know that the port numbers are required.
> They are not: https://www.postgresql.org/docs/12/pgupgrade.html
> "Obviously, no one should be accessing the clusters during the upgrade.
> pg_upgrade defaults to running servers on port 50432 to avoid unintended
> client connections. You can use the same port number for both clusters
> when doing an upgrade because the old and new clusters will not be running
> at the same time. However, when checking an old running server, the old
> and new port numbers must be different."
Adrian,
As I'm the only user of the databases, and both are shut down, I assumed
specifying port numbers was not needed.
>> Have I missed an option?
> Not a required one. Best way to find out is to run --check.
Good advice; I'll do that.
Thanks,
Rich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: rshepard@appl-ecosys.com
Subject: Re: Pre-version pg_upgrade syntax check
In-Reply-To: <alpine.LNX.2.20.2002101529200.4839@salmo.appl-ecosys.com>
References: <alpine.LNX.2.20.2002101352320.32087@salmo.appl-ecosys.com> <03ebdc12-d8f6-8310-9552-f7a744fe3e73@aklaver.com> <alpine.LNX.2.20.2002101529200.4839@salmo.appl-ecosys.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox