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

Commit7d4524a

Browse files
committed
Fix tablespace path TAP test of pg_verify_checksums for msys
TAP tests on msys need to run with the DTK perl, which understands msysvirtualized paths. Postgres, however, does not understand such paths,so before a path can be used safely with CREATE TABLESPACE, it needs tobe translated into a path on the underlying file system.Per report from buildfarm member jacana. Suggested fix is from AndrewDunstan.Discussion:https://postgr.es/m/20181130053555.GF2267@paquier.xyz
1 parent9dc1225 commit7d4524a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/bin/pg_verify_checksums/t/002_actions.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ sub check_relation_corruption
116116
my$basedir =$node->basedir;
117117
my$tablespace_dir ="$basedir/ts_corrupt_dir";
118118
mkdir ($tablespace_dir);
119+
$tablespace_dir = TestLib::real_dir($tablespace_dir);
119120
$node->safe_psql('postgres',
120121
"CREATE TABLESPACE ts_corrupt LOCATION '$tablespace_dir';");
121122
check_relation_corruption($node,'corrupt2','ts_corrupt');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp