postgres.git / summary / log / commit / refs
commit 03c545b66f748b9318d13bbc90f05f136a465484
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Mon Jan 10 15:08:44 2022 +0000
First released in: 15.0, 10.20, 11.15, 12.10, 13.6, 14.2
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 88e0df1c2ec..cf98f311807 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -313,7 +313,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: 38cbdd22d633]