postgres.git / summary / log / commit / refs
commit 1cd46f168fda4d819e315eacf3d4f3d5aa84859c
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Mon Jan 10 15:08:44 2022 +0000
Avoid warning about uninitialized value in MSVC python3 tests
Juan José SantamarÃa Flecha
Backpatch to all live branches
src/tools/msvc/vcregress.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index 03a5d976afb..c94b2abc872 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -347,7 +347,7 @@ sub mangle_plpython3
s/([ [{])u'/$1'/g;
s/def next/def __next__/g;
s/LANGUAGE plpython2?u/LANGUAGE plpython3u/g;
- s/EXTENSION ([^ ]*_)*plpython2?u/EXTENSION $1plpython3u/g;
+ s/EXTENSION (\S*?)plpython2?u/EXTENSION $1plpython3u/g;
s/installing required extension "plpython2u"/installing required extension "plpython3u"/g;
}
for ($contents);
[parent: 043c1e1a73aa]