]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Move any remaining files generated by pg_upgrade into an internal subdir
authorMichael Paquier <michael@paquier.xyz>
Tue, 13 Sep 2022 01:38:59 +0000 (10:38 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 13 Sep 2022 01:38:59 +0000 (10:38 +0900)
commitf5047c1293acce3c6c3802b06825aa3a9f9aa55a
tree1fd1511bb3c5dde0f532a9f71d27684ed5700579
parent4d5d35858c898a64a96cdff62d6d1ff9f08f9fa5
Move any remaining files generated by pg_upgrade into an internal subdir

This change concerns a couple of .txt files (for internal state checks)
that were still written in the path where the binary is executed, and
not in the subdirectory located in the target cluster.  Like the other
.txt files doing already so (like loadable_libraries.txt), these are
saved in the base output directory.  Note that on failure, the logs
report the full path to the .txt file generated, so these are easy to
find.

Oversight in 38bfae3.

Author: Daniel Gustafsson
Reviewed-by: Michael Paquier, Justin Prysby
Discussion: https://postgr.es/m/181A6DA8-3B7F-4B71-82D5-363FF0146820@yesql.se
Backpatch-through: 15
src/bin/pg_upgrade/check.c
src/bin/pg_upgrade/version.c