]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Avoid warning about uninitialized value in MSVC python3 tests
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 10 Jan 2022 15:08:44 +0000 (10:08 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 10 Jan 2022 15:12:37 +0000 (10:12 -0500)
Juan José Santamaría Flecha

Backpatch to all live branches

src/tools/msvc/vcregress.pl

index e0909aa1aeae7fa284fb13845654d236fc70c7fd..d802364bdbf6c5991261f0911841a214e16e8bb0 100644 (file)
@@ -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);