Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8af917b

Browse files
author
Amit Kapila
committed
Fix the test 003_logical_slots.
pg_upgrade test 003_logical_slots was leaving files likedelete_old_cluster.sh in the source directory for VPATH and meson builds.The fix is to change the directory to tmp_check before running the test asis done in the similar test in 002_pg_upgrade.Reported-by: Peter Eisentraut, Andrew DunstanAuthor: Hayato Kuroda based on a suggestion by Andrew DunstanReviewed-by: Peter Smith, Hou ZhijieDiscussion:http://postgr.es/m/b4fb612d-ef0b-4db7-81b9-cf0701275491@eisentraut.orgDiscussion:http://postgr.es/m/TYAPR01MB5866D7B89DC5688256D980C2F5A9A@TYAPR01MB5866.jpnprd01.prod.outlook.com
1 parentc2bdd2c commit8af917b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎src/bin/pg_upgrade/t/003_logical_slots.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
'-P',$newpub->port,
3535
$mode);
3636

37+
# In a VPATH build, we'll be started in the source directory, but we want
38+
# to run pg_upgrade in the build directory so that any files generated finish
39+
# in it, like delete_old_cluster.{sh,bat}.
40+
chdir${PostgreSQL::Test::Utils::tmp_check};
41+
3742
# ------------------------------
3843
# TEST: Confirm pg_upgrade fails when the new cluster has wrong GUC values
3944

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp