postgres.git / summary / log / commit / refs
commit ab3764a417ff58f28b62831ca2cabbb6cfd2133a
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 0afee7e6ec8..8edad20a144 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -302,7 +302,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);
my $base = basename $file;
[parent: b2198690847f]