diff options
author | Andres Freund <andres@anarazel.de> | 2015-10-04 22:24:13 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2015-10-04 22:29:03 +0200 |
commit | 86b1e6784b19b03606197cf3f69b10f5a653931d (patch) | |
tree | 92d5e3b00603c71204e8a223b96a7e4af7d0b158 | |
parent | f2fc98fb8e060b2243aba4cfe8b206f54bcc5a4f (diff) | |
download | postgresql-86b1e6784b19b03606197cf3f69b10f5a653931d.tar.gz postgresql-86b1e6784b19b03606197cf3f69b10f5a653931d.zip |
Fix hstore_plpython test when python3 is used.
Due to b67aaf21e8ef8 / CREATE EXTENSION ... CASCADE the test output
contains the extension name in yet another place. Since that's variable
depending on the python version...
Add yet another name mangling stanza to regress-python3-mangle.mk.
Author: Petr Jelinek
-rw-r--r-- | src/pl/plpython/regress-python3-mangle.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pl/plpython/regress-python3-mangle.mk b/src/pl/plpython/regress-python3-mangle.mk index d2c7490b8a3..63948159bb4 100644 --- a/src/pl/plpython/regress-python3-mangle.mk +++ b/src/pl/plpython/regress-python3-mangle.mk @@ -25,6 +25,7 @@ pgregress-python3-mangle: -e "s/LANGUAGE plpython2u/LANGUAGE plpython3u/g" \ -e "s/EXTENSION \([^ ]*_\)*plpythonu/EXTENSION \1plpython3u/g" \ -e "s/EXTENSION \([^ ]*_\)*plpython2u/EXTENSION \1plpython3u/g" \ + -e 's/installing required extension "plpython2u"/installing required extension "plpython3u"/g' \ $$file >`echo $$file | sed 's,^.*/\([^/][^/]*/\)\([^/][^/]*\)$$,\1python3/\2,'` || exit; \ done |