aboutsummaryrefslogtreecommitdiff
path: root/src
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:31 -0500
commit32cd4264ccfc00234c6500913800983ca1073729 (patch)
tree8626d753cd6c259a181759cd0b47a135caf8482e /src
parent823d4c7e25383cb4056c21615130b2abde17efba (diff)
downloadpostgresql-32cd4264ccfc00234c6500913800983ca1073729.tar.gz
postgresql-32cd4264ccfc00234c6500913800983ca1073729.zip
Avoid warning about uninitialized value in MSVC python3 tests
Juan José Santamaría Flecha Backpatch to all live branches
Diffstat (limited to 'src')
-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 d9a6425b33b..2d5980eb579 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -314,7 +314,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);