diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-01-10 10:08:44 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-01-10 10:12:23 -0500 |
commit | 1cd46f168fda4d819e315eacf3d4f3d5aa84859c (patch) | |
tree | dacb1468ffb993c01d7970a15f8f172fd0dad339 | |
parent | 043c1e1a73aace8b459b3290ff7a50c9b124fb33 (diff) | |
download | postgresql-1cd46f168fda4d819e315eacf3d4f3d5aa84859c.tar.gz postgresql-1cd46f168fda4d819e315eacf3d4f3d5aa84859c.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.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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); |