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

Commite5b8c4f

Browse files
committed
Fix path of regress shared library in pg_upgrade test
During a pg_upgrade test using an old dump, all references to the oldregress shared library path (so, dylib or dll) are updated to point tothe library path used by the new build, to ensure a consistentcomparison between the old and new dumps.The test previously relied on a hardcoded value of "src/test/regress/"to build the new path value, which would point to an incorrect locationfor the meson and vpath builds. This is replaced by REGRESS_SHLIB, ableto point to the correct location of the regress shared library.Author: Alexander LakhinDiscussion:https://postgr.es/m/a628d8ad-a08a-2eab-4ca9-641bc82d3193@gmail.comBackpatch-through: 15
1 parentc0fcf07 commite5b8c4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_upgrade/t/002_pg_upgrade.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ sub filter_dump
284284

285285
my$dump_data = slurp_file($dump1_file);
286286

287-
my$newregresssrc ="$srcdir/src/test/regress";
287+
my$newregresssrc =dirname($ENV{REGRESS_SHLIB});
288288
foreach (@libpaths)
289289
{
290290
my$libpath =$_;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp