On Tuesday, March 19, 2019 12:35 AM, Tom Lane <t...@sss.pgh.pa.us> wrote:

> I noticed a few things that seem a bit fishy about pg_upgrade.

Attached are three patches which takes a stab at the issues raised here (and
the discussion in this thread):

0001 - Enforces the version check to the full version including the minor
0002 - Tests for all the binaries that pg_upgrade executes
0003 - Make -B default to CWD and remove the exec_path check

Defaulting to CWD for the new bindir has the side effect that the default
sockdir is in the bin/ directory which may be less optimal.

cheers ./daniel

Attachment: 0002-Check-all-used-executables.patch
Description: Binary data

Attachment: 0003-Default-new-bindir-to-CWD.patch
Description: Binary data

Attachment: 0001-Only-allow-upgrades-by-the-same-exact-version-new-bi.patch
Description: Binary data

Reply via email to