pgsql: Fix thinko with subdirectories generated by pg_upgrade for inter

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix thinko with subdirectories generated by pg_upgrade for inter
Date: 2022-02-15 02:47:41
Message-ID: E1nJnsT-0002aj-Q9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix thinko with subdirectories generated by pg_upgrade for internal files

38bfae3 has mixed the "dump/" and "log/" subdirectories generated in
"pg_upgrade_output.d/", causing the internal dump files to be generated
in "log/" and the log files to be in "dump/", but the opposite should be
done. This was not directly an issue for pg_upgrade runs, as the
internal dump files were still picked up at the location of their
creation, but the newest version of the buildfarm client would have
reported the dump files instead of the log files on failures of
pg_upgrade.

Issue spotted while testing the TAP tests of pg_upgrade.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a008496300110d1b5ab7cb29b67ac043a6999bdb

Modified Files
--------------
src/bin/pg_upgrade/pg_upgrade.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-02-15 04:41:55 pgsql: Remove command checks in tests of pg_basebackup and pg_receivewa
Previous Message Andres Freund 2022-02-15 01:09:53 pgsql: Move replication slot release to before_shmem_exit().