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

Commitc4252c9

Browse files
committed
Fix cross-version upgrade tests.
TestUpgradeXversion knows how to make the main regression database'sreferences to pg_regress.so be version-independent. But it doesn'tdo that for plperl's database, so that the C function added bycommitb7e3a52 is causing cross-version upgrade test failures.Path of least resistance is to just drop the function at the endof the new test.In <= v14, also take the opportunity to clean up the generatedtest files.Security:CVE-2024-10979
1 parenta34c33f commitc4252c9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

‎src/pl/plperl/expected/plperl_env.out

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ $$
5151
$$ LANGUAGE plperl;
5252
WARNING: attempted alteration of $ENV{TEST_PLPERL_ENV_FOO} at line 12.
5353
NOTICE: environ unaffected
54+
-- clean up to simplify cross-version upgrade testing
55+
DROP FUNCTION get_environ();

‎src/pl/plperl/sql/plperl_env.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ $$
5656
}
5757

5858
$$ LANGUAGE plperl;
59+
60+
-- clean up to simplify cross-version upgrade testing
61+
DROPFUNCTION get_environ();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp