aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2022-01-10 10:08:44 -0500
committerAndrew Dunstan <andrew@dunslane.net>2022-01-10 10:12:37 -0500
commit5b2cb9c29e09419bcce2e1be47a78a7e3d0a1156 (patch)
treeb5c7eac3db7d05457b398414ccb0b55974abbbbd
parent3a69d45afcc81fceeb44254f38bc3258fc3a160b (diff)
downloadpostgresql-5b2cb9c29e09419bcce2e1be47a78a7e3d0a1156.tar.gz
postgresql-5b2cb9c29e09419bcce2e1be47a78a7e3d0a1156.zip
Avoid warning about uninitialized value in MSVC python3 tests
Juan José Santamaría Flecha Backpatch to all live branches
-rw-r--r--src/tools/msvc/vcregress.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index e0909aa1aea..d802364bdbf 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);