summaryrefslogtreecommitdiff
path: root/src/bin/scripts/createlang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/scripts/createlang.sh')
-rw-r--r--src/bin/scripts/createlang.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bin/scripts/createlang.sh b/src/bin/scripts/createlang.sh
index 3fd3d26222..129dc4fdbd 100644
--- a/src/bin/scripts/createlang.sh
+++ b/src/bin/scripts/createlang.sh
@@ -209,9 +209,15 @@ case "$langname" in
handler="plperl_call_handler"
object="plperl"
;;
+ plpython)
+ lancomp="PL/Python"
+ trusted="TRUSTED "
+ handler="plpython_call_handler"
+ object="plpython"
+ ;;
*)
echo "$CMDNAME: unsupported language '$langname'" 1>&2
- echo "Supported languages are 'plpgsql', 'pltcl', 'pltclu', and 'plperl'." 1>&2
+ echo "Supported languages are 'plpgsql', 'pltcl', 'pltclu', 'plperl', and 'plpython'." 1>&2
exit 1
;;
esac