{"Entry":{"collection":"language","key":"plperlu","name":"plperlu","aliases":[],"metadata":{"aliases":[],"category":"PL/Perl","content_hash":"6a87c343dd0c0e7fec9b313742453f95b62c4ea20fd9306a17bf57e75b9706ce","imported_at":"2026-09-30T00:40:44.34333+08:00","name":"plperlu","name_zh":"","slug":"plperlu","summary":"PL/PerlU untrusted procedural language"}},"Definition":{"Collection":"language","Key":"plperlu","SourceDatabase":"center","Version":"18","SourceTable":"procedural_language","SourceKey":"plperlu","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"aliases":[],"attributes":{"comment":"PL/PerlU untrusted procedural language","default_version":"1.0","family":"PL/Perl","handler":"plperlu_call_handler","inline_handler":"plperlu_inline_handler","kind":"Bundled procedural-language variant","library":"$libdir/plperl","module_pathname":"$libdir/plperl","trusted":"f","validator":"plperlu_validator"},"comparison_data":{"default_version":"1.0","family":"PL/Perl","handler":"plperlu_call_handler","inline_handler":"plperlu_inline_handler","kind":"Bundled procedural-language variant","library":"$libdir/plperl","trusted":"f","validator":"plperlu_validator"},"comparison_hash":"910131cbdfbbc05e83f3e02f0a9b1783e6f65ed6a4d0b5e127885aed80011061","description":["PL/PerlU untrusted procedural language"],"facts":[{"label":"Kind","value":"Bundled procedural-language variant"},{"label":"Family","value":"PL/Perl"},{"label":"Trusted","value":"f"},{"label":"Handler","value":"plperlu_call_handler"},{"label":"Inline handler","value":"plperlu_inline_handler"},{"label":"Validator","value":"plperlu_validator"},{"label":"Library","value":"$libdir/plperl"},{"label":"Default version","value":"1.0"},{"label":"Module pathname","value":"$libdir/plperl"},{"label":"Comment","value":"PL/PerlU untrusted procedural language"}],"manual_html":"\u003cdiv class=\"chapter\" id=\"PLPERL\"\u003e\n\u003cdiv class=\"titlepage\"\u003e\n\u003cdiv\u003e\n\u003cdiv\u003e\n\u003ch2 class=\"title\"\u003eChapter 43. PL/Perl — Perl Procedural Language\u003c/h2\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\n\u003cp\u003ePL/Perl is a loadable procedural language that enables you to write \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e functions and procedures in the \u003ca class=\"ulink\" href=\"https://www.perl.org\"\u003ePerl programming language\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe main advantage to using PL/Perl is that this allows use, within stored functions and procedures, of the manyfold \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003estring munging\u003c/span\u003e”\u003c/span\u003e operators and functions available for Perl. Parsing complex strings might be easier using Perl than it is with the string functions and control structures provided in PL/pgSQL.\u003c/p\u003e\n\u003cp\u003eTo install PL/Perl in a particular database, use \u003ccode class=\"literal\"\u003eCREATE EXTENSION plperl\u003c/code\u003e.\u003c/p\u003e\n\u003cdiv class=\"tip\"\u003e\n\u003ch3 class=\"title\"\u003eTip\u003c/h3\u003e\n\u003cp\u003eIf a language is installed into \u003ccode class=\"literal\"\u003etemplate1\u003c/code\u003e, all subsequently created databases will have the language installed automatically.\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv class=\"note\"\u003e\n\u003ch3 class=\"title\"\u003eNote\u003c/h3\u003e\n\u003cp\u003eUsers of source packages must specially enable the build of PL/Perl during the installation process. (Refer to \u003ca class=\"xref\" href=\"/docs/18/installation.html\" title=\"Chapter 17. Installation from Source Code\"\u003eChapter 17\u003c/a\u003e for more information.) Users of binary packages might find PL/Perl in a separate subpackage.\u003c/p\u003e\n\u003c/div\u003e\n\u003c/div\u003e","manual_path":"/docs/18/plperl.html","related":[{"label":"plperl-builtins","url":"/docs/18/plperl-builtins.html"},{"label":"plperl-data","url":"/docs/18/plperl-data.html"},{"label":"plperl-event-triggers","url":"/docs/18/plperl-event-triggers.html"},{"label":"plperl-funcs","url":"/docs/18/plperl-funcs.html"},{"label":"plperl-global","url":"/docs/18/plperl-global.html"},{"label":"plperl-triggers","url":"/docs/18/plperl-triggers.html"},{"label":"plperl-trusted","url":"/docs/18/plperl-trusted.html"},{"label":"plperl-under-the-hood","url":"/docs/18/plperl-under-the-hood.html"}],"release":{"catalog_fingerprint":"65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502","channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"code":"/* src/pl/plperl/plperlu--1.0.sql */\n\nCREATE FUNCTION plperlu_call_handler() RETURNS language_handler\n  LANGUAGE c AS 'MODULE_PATHNAME';\n\nCREATE FUNCTION plperlu_inline_handler(internal) RETURNS void\n  STRICT LANGUAGE c AS 'MODULE_PATHNAME';\n\nCREATE FUNCTION plperlu_validator(oid) RETURNS void\n  STRICT LANGUAGE c AS 'MODULE_PATHNAME';\n\nCREATE LANGUAGE plperlu\n  HANDLER plperlu_call_handler\n  INLINE plperlu_inline_handler\n  VALIDATOR plperlu_validator;\n\nCOMMENT ON LANGUAGE plperlu IS 'PL/PerlU untrusted procedural language';","paragraphs":["This extension is shipped with the source. Its presence does not establish that the language or external runtime is installed."],"title":"Installation definition from the matching source archive"}],"signature":"","source_files":{"src/pl/plperl/plperlu--1.0.sql":"6a0fcd71e16f0b9d81c8cc553445912993d4c5ee9794cd3733063d72a628a868","src/pl/plperl/plperlu.control":"933c365708883cb25ce9602ae342db7d75e1c0c128fb6825160c7e3cb2b8ce5a"},"sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual","path":"plperl.html","sha256":"df8d580be7d76f557e7e2e5cc7bec6ad6870ed6ccc987ced882308747c8da608","url":"/docs/18/plperl.html"}],"tables":[]},"ManualEvidence":{"manual_path":"/docs/18/plperl.html","release":{"catalog_fingerprint":"65c93d6048ef30e61023a84f9680fa6a92b1c383b7eb226741170077eb078502","channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual","path":"plperl.html","sha256":"df8d580be7d76f557e7e2e5cc7bec6ad6870ed6ccc987ced882308747c8da608","url":"/docs/18/plperl.html"}]},"MeasuredEvidence":{}},"Text":{"Collection":"language","Key":"plperlu","SourceDatabase":"center","Version":"18","Locale":"en","Title":"plperlu","Summary":"PL/PerlU untrusted procedural language","BodyHTML":"\u003cdiv id=\"PLPERL\"\u003e\n\u003cdiv\u003e\n\u003cdiv\u003e\n\u003cdiv\u003e\n\u003ch2\u003eChapter 43. PL/Perl — Perl Procedural Language\u003c/h2\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\n\u003cp\u003ePL/Perl is a loadable procedural language that enables you to write \u003cspan\u003ePostgreSQL\u003c/span\u003e functions and procedures in the \u003ca href=\"https://www.perl.org\" rel=\"nofollow\"\u003ePerl programming language\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe main advantage to using PL/Perl is that this allows use, within stored functions and procedures, of the manyfold \u003cspan\u003e“\u003cspan\u003estring munging\u003c/span\u003e”\u003c/span\u003e operators and functions available for Perl. Parsing complex strings might be easier using Perl than it is with the string functions and control structures provided in PL/pgSQL.\u003c/p\u003e\n\u003cp\u003eTo install PL/Perl in a particular database, use \u003ccode\u003eCREATE EXTENSION plperl\u003c/code\u003e.\u003c/p\u003e\n\u003cdiv\u003e\n\u003ch3\u003eTip\u003c/h3\u003e\n\u003cp\u003eIf a language is installed into \u003ccode\u003etemplate1\u003c/code\u003e, all subsequently created databases will have the language installed automatically.\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003ch3\u003eNote\u003c/h3\u003e\n\u003cp\u003eUsers of source packages must specially enable the build of PL/Perl during the installation process. (Refer to \u003ca href=\"/docs/18/installation.html\" rel=\"nofollow\"\u003eChapter 17\u003c/a\u003e for more information.) Users of binary packages might find PL/Perl in a separate subpackage.\u003c/p\u003e\n\u003c/div\u003e\n\u003c/div\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"b86966639bdfc550dbc0e7561b733e5518f36e18bb3ca5f2da71e60c3505d871","Payload":{"description":["PL/PerlU untrusted procedural language"],"manual_html":"\u003cdiv class=\"chapter\" id=\"PLPERL\"\u003e\n\u003cdiv class=\"titlepage\"\u003e\n\u003cdiv\u003e\n\u003cdiv\u003e\n\u003ch2 class=\"title\"\u003eChapter 43. PL/Perl — Perl Procedural Language\u003c/h2\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\u003c/div\u003e\n\n\u003cp\u003ePL/Perl is a loadable procedural language that enables you to write \u003cspan class=\"productname\"\u003ePostgreSQL\u003c/span\u003e functions and procedures in the \u003ca class=\"ulink\" href=\"https://www.perl.org\"\u003ePerl programming language\u003c/a\u003e.\u003c/p\u003e\n\u003cp\u003eThe main advantage to using PL/Perl is that this allows use, within stored functions and procedures, of the manyfold \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003estring munging\u003c/span\u003e”\u003c/span\u003e operators and functions available for Perl. Parsing complex strings might be easier using Perl than it is with the string functions and control structures provided in PL/pgSQL.\u003c/p\u003e\n\u003cp\u003eTo install PL/Perl in a particular database, use \u003ccode class=\"literal\"\u003eCREATE EXTENSION plperl\u003c/code\u003e.\u003c/p\u003e\n\u003cdiv class=\"tip\"\u003e\n\u003ch3 class=\"title\"\u003eTip\u003c/h3\u003e\n\u003cp\u003eIf a language is installed into \u003ccode class=\"literal\"\u003etemplate1\u003c/code\u003e, all subsequently created databases will have the language installed automatically.\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv class=\"note\"\u003e\n\u003ch3 class=\"title\"\u003eNote\u003c/h3\u003e\n\u003cp\u003eUsers of source packages must specially enable the build of PL/Perl during the installation process. (Refer to \u003ca class=\"xref\" href=\"/docs/18/installation.html\" title=\"Chapter 17. Installation from Source Code\"\u003eChapter 17\u003c/a\u003e for more information.) Users of binary packages might find PL/Perl in a separate subpackage.\u003c/p\u003e\n\u003c/div\u003e\n\u003c/div\u003e","related":[{"label":"plperl-builtins","url":"/docs/18/plperl-builtins.html"},{"label":"plperl-data","url":"/docs/18/plperl-data.html"},{"label":"plperl-event-triggers","url":"/docs/18/plperl-event-triggers.html"},{"label":"plperl-funcs","url":"/docs/18/plperl-funcs.html"},{"label":"plperl-global","url":"/docs/18/plperl-global.html"},{"label":"plperl-triggers","url":"/docs/18/plperl-triggers.html"},{"label":"plperl-trusted","url":"/docs/18/plperl-trusted.html"},{"label":"plperl-under-the-hood","url":"/docs/18/plperl-under-the-hood.html"}],"sections":[{"code":"/* src/pl/plperl/plperlu--1.0.sql */\n\nCREATE FUNCTION plperlu_call_handler() RETURNS language_handler\n  LANGUAGE c AS 'MODULE_PATHNAME';\n\nCREATE FUNCTION plperlu_inline_handler(internal) RETURNS void\n  STRICT LANGUAGE c AS 'MODULE_PATHNAME';\n\nCREATE FUNCTION plperlu_validator(oid) RETURNS void\n  STRICT LANGUAGE c AS 'MODULE_PATHNAME';\n\nCREATE LANGUAGE plperlu\n  HANDLER plperlu_call_handler\n  INLINE plperlu_inline_handler\n  VALIDATOR plperlu_validator;\n\nCOMMENT ON LANGUAGE plperlu IS 'PL/PerlU untrusted procedural language';","paragraphs":["This extension is shipped with the source. Its presence does not establish that the language or external runtime is installed."],"title":"Installation definition from the matching source archive"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
