aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2021-04-12 19:24:21 -0700
committerNoah Misch <noah@leadboat.com>2021-04-12 19:24:24 -0700
commit766c8fce5281f8a7cf690e1fe2dc3a19c326578f (patch)
tree3b1b185ca833dff3295703fdea1b56c9f4b5cc7a /src
parent16175e278763e88618c814b6489c4ae795501282 (diff)
downloadpostgresql-766c8fce5281f8a7cf690e1fe2dc3a19c326578f.tar.gz
postgresql-766c8fce5281f8a7cf690e1fe2dc3a19c326578f.zip
Port regress-python3-mangle.mk to Solaris "sed".
It doesn't support "\(foo\)*" like a POSIX "sed" implementation does; see the Autoconf manual. Back-patch to 9.6 (all supported versions).
Diffstat (limited to 'src')
-rw-r--r--src/pl/plpython/regress-python3-mangle.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pl/plpython/regress-python3-mangle.mk b/src/pl/plpython/regress-python3-mangle.mk
index e18cb821540..a785818a172 100644
--- a/src/pl/plpython/regress-python3-mangle.mk
+++ b/src/pl/plpython/regress-python3-mangle.mk
@@ -23,8 +23,10 @@ pgregress-python3-mangle:
-e "s/def next/def __next__/g" \
-e "s/LANGUAGE plpythonu/LANGUAGE plpython3u/g" \
-e "s/LANGUAGE plpython2u/LANGUAGE plpython3u/g" \
- -e "s/EXTENSION \([^ ]*_\)*plpythonu/EXTENSION \1plpython3u/g" \
- -e "s/EXTENSION \([^ ]*_\)*plpython2u/EXTENSION \1plpython3u/g" \
+ -e "s/EXTENSION plpythonu/EXTENSION plpython3u/g" \
+ -e "s/EXTENSION plpython2u/EXTENSION plpython3u/g" \
+ -e "s/EXTENSION \([^ ]*\)_plpythonu/EXTENSION \1_plpython3u/g" \
+ -e "s/EXTENSION \([^ ]*\)_plpython2u/EXTENSION \1_plpython3u/g" \
-e 's/installing required extension "plpython2u"/installing required extension "plpython3u"/g' \
$$file >`echo $$file | sed 's,^.*/\([^/][^/]*/\)\([^/][^/]*\)$$,\1python3/\2,'` || exit; \
done