]> granicus.if.org Git - postgresql/commitdiff
Old patch from Mark Hollomon to add plperl to createlang's repertoire.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Mar 2000 19:10:27 +0000 (19:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 25 Mar 2000 19:10:27 +0000 (19:10 +0000)
Seems to have slipped through the cracks.

src/bin/scripts/createlang.sh

index 8fb3c72e4c61b038c740cd170df566b048ae1437..fd5a9fbe957c8c638e0835b4c6aa7b9635cc50a6 100644 (file)
@@ -8,7 +8,7 @@
 #
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.7 2000/03/14 23:06:41 thomas Exp $
+#    $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.8 2000/03/25 19:10:27 tgl Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -184,9 +184,13 @@ case "$langname" in
                lancomp="PL/Tcl"
                trusted="TRUSTED "
                handler="pltcl_call_handler";;
+       plperl)
+               lancomp="PL/Perl"
+               trusted="TRUSTED "
+               handler="plperl_call_handler";;
        *)
                echo "$CMDNAME: unsupported language '$langname'"
-               echo "Supported languages are 'plpgsql' and 'pltcl'."
+               echo "Supported languages are 'plpgsql', 'pltcl', and 'plperl'."
                exit 1
         ;;
 esac