summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2015-10-04 20:24:13 +0000
committerAndres Freund2015-10-04 20:29:03 +0000
commit86b1e6784b19b03606197cf3f69b10f5a653931d (patch)
tree92d5e3b00603c71204e8a223b96a7e4af7d0b158
parentf2fc98fb8e060b2243aba4cfe8b206f54bcc5a4f (diff)
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.mk1
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 d2c7490b8a..63948159bb 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